Просмотр исходного кода

DBReload doesn't require an already existing file anymore

Kenric Nugteren 2 месяцев назад
Родитель
Сommit
21e5798e00
1 измененных файлов с 1 добавлено и 0 удалено
  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;
     }