Explorar o código

DBReload doesn't require an already existing file anymore

Kenric Nugteren hai 2 meses
pai
achega
21e5798e00
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      DbReload/DbReload/MainViewModel.cs

+ 1 - 0
DbReload/DbReload/MainViewModel.cs

@@ -21,6 +21,7 @@ public partial class MainViewModel : ObservableObject
     {
         OpenFileDialog dlg = new OpenFileDialog();
         dlg.Filter = "SQLite Files (*.db,*.dbs)|*.db;*.dbs";
+        dlg.CheckFileExists = false;
         if (dlg.ShowDialog() == true)
             SqLiteFile = dlg.FileName;
     }