Show options window on first run (fixes #467)

This commit is contained in:
Matt Nadareski
2023-10-18 02:10:29 -04:00
parent e9121f3b03
commit 5c8dc2c23a
2 changed files with 5 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
- Add path variants for PlayStation info
- Convert Drive to use paths internally
- Create skeleton for first-run
- Show options window on first run
### 2.7.2 (2023-10-17)

View File

@@ -57,7 +57,10 @@ namespace MPF.UI.Core.Windows
// Handle first-run, if necessary
if (MainViewModel.Options.FirstRun)
{
// TODO: Show a welcome screen or the options window
// Show the options window
ShowOptionsWindow();
// Ensure the first run flag is unset
var continuingOptions = new MPF.Core.Data.Options(MainViewModel.Options);
continuingOptions.FirstRun = false;
MainViewModel.Options = continuingOptions;