Force information window to top

This commit is contained in:
Matt Nadareski
2023-09-26 21:39:41 -04:00
parent 1878ef5ad6
commit 1741326253
3 changed files with 3 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
- Handle invalid characters when changing program
- Fix options not saving on update
- Combine build scripts
- Force information window to top
### 2.6.4 (2023-09-25)

View File

@@ -119,7 +119,7 @@ namespace MPF.Core.Data
/// <remarks>This is a hidden setting</remarks>
public bool ShowDebugViewMenuItem
{
get { return GetBooleanSetting(_settings, "ShowDebugViewMenuItem", false); }
get { return GetBooleanSetting(_settings, "ShowDebugViewMenuItem", true); }
set { _settings["ShowDebugViewMenuItem"] = value.ToString(); }
}

View File

@@ -1247,6 +1247,7 @@ namespace MPF.UI.Core.ViewModels
var discInformationWindow = new DiscInformationWindow(this.Options, submissionInfo)
{
Owner = this.Parent,
Topmost = true,
WindowStartupLocation = WindowStartupLocation.CenterOwner,
};
bool? result = discInformationWindow.ShowDialog();