File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/WPF/GeneralUpdate.Packet/ViewModels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ private async Task GetFileMD5Callback()
3939 var openFileDialog = new OpenFileDialog ( ) ;
4040 openFileDialog . InitialDirectory = @"D:\" ;
4141 openFileDialog . Filter = "All files (*.*)|*.*" ;
42- if ( ! openFileDialog . ShowDialog ( ) . Value )
42+ if ( openFileDialog . ShowDialog ( ) == false )
4343 {
4444 await ShowMessage ( "Pick options" , "No results were selected !" ) ;
4545 return ;
@@ -70,7 +70,7 @@ private async Task BuildJsonCallback()
7070 var openFileDialog = new OpenFileDialog ( ) ;
7171 openFileDialog . InitialDirectory = @"D:\" ;
7272 openFileDialog . Filter = "All files (*.*)|*.*" ;
73- if ( ! openFileDialog . ShowDialog ( ) . Value )
73+ if ( openFileDialog . ShowDialog ( ) == false )
7474 {
7575 await ShowMessage ( "Pick options" , "No results were selected !" ) ;
7676 return ;
You can’t perform that action at this time.
0 commit comments