From e72548b68b31b0b15270a3862c2c615a3b566c27 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sat, 22 Feb 2025 02:20:56 +1000 Subject: [PATCH] Fix parenting of TAStudio child dialogs (should fix #4103) --- .../tools/TAStudio/TAStudio.MenuItems.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs index d0acfecc9a..65827341e8 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs @@ -909,7 +909,7 @@ namespace BizHawk.Client.EmuHawk { using MovieHeaderEditor form = new(CurrentTasMovie, Config) { - Owner = Owner, + Owner = this, Location = this.ChildPointToScreen(TasView) }; form.ShowDialogOnScreen(); @@ -923,7 +923,7 @@ namespace BizHawk.Client.EmuHawk (s, k) => { CurrentTasMovie.TasStateManager.UpdateSettings(s, k); }, false) { - Owner = Owner, + Owner = this, Location = this.ChildPointToScreen(TasView) }; form.ShowDialogOnScreen(); @@ -933,7 +933,7 @@ namespace BizHawk.Client.EmuHawk { using EditCommentsForm form = new(CurrentTasMovie, false) { - Owner = Owner, + Owner = this, StartPosition = FormStartPosition.Manual, Location = this.ChildPointToScreen(TasView) }; @@ -948,7 +948,7 @@ namespace BizHawk.Client.EmuHawk Config!.PathEntries, readOnly: false) { - Owner = Owner, + Owner = this, StartPosition = FormStartPosition.Manual, Location = this.ChildPointToScreen(TasView) }; @@ -963,7 +963,7 @@ namespace BizHawk.Client.EmuHawk (s, k) => { Config.Movies.DefaultTasStateManagerSettings = s; }, true) { - Owner = Owner, + Owner = this, Location = this.ChildPointToScreen(TasView) }; form.ShowDialogOnScreen(); @@ -1085,7 +1085,7 @@ namespace BizHawk.Client.EmuHawk { using TAStudioColorSettingsForm form = new(Palette, p => Settings.Palette = p) { - Owner = Owner, + Owner = this, StartPosition = FormStartPosition.Manual, Location = this.ChildPointToScreen(TasView) };