mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Show options window on first run (fixes #467)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user