From f8396892940ca99bb1e2c471408b1b4f18277969 Mon Sep 17 00:00:00 2001 From: DB p Date: Tue, 15 Apr 2025 05:54:46 +0900 Subject: [PATCH] Add Content Dialog owner --- Flow.Launcher/HotkeyControl.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Flow.Launcher/HotkeyControl.xaml.cs b/Flow.Launcher/HotkeyControl.xaml.cs index 8762a934b..9af3b71aa 100644 --- a/Flow.Launcher/HotkeyControl.xaml.cs +++ b/Flow.Launcher/HotkeyControl.xaml.cs @@ -243,6 +243,9 @@ namespace Flow.Launcher } var dialog = new HotkeyControlDialog(Hotkey, DefaultHotkey, WindowTitle); + + dialog.Owner = Window.GetWindow(this); + await dialog.ShowAsync(); switch (dialog.ResultType) {