Open import config from backups folder
This commit is contained in:
@@ -674,7 +674,7 @@ public partial class MainWindow : Window
|
|||||||
{
|
{
|
||||||
Title = "Import launcher config",
|
Title = "Import launcher config",
|
||||||
Filter = "JSON config files|*.json|All files|*.*",
|
Filter = "JSON config files|*.json|All files|*.*",
|
||||||
InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
|
InitialDirectory = Directory.Exists(ConfigService.BackupFolder) ? ConfigService.BackupFolder : ConfigService.AppFolder
|
||||||
};
|
};
|
||||||
|
|
||||||
if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user