Skip to content

Commit f839689

Browse files
committed
Add Content Dialog owner
1 parent f3ff865 commit f839689

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Flow.Launcher/HotkeyControl.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ private async Task OpenHotkeyDialogAsync()
243243
}
244244

245245
var dialog = new HotkeyControlDialog(Hotkey, DefaultHotkey, WindowTitle);
246+
247+
dialog.Owner = Window.GetWindow(this);
248+
246249
await dialog.ShowAsync();
247250
switch (dialog.ResultType)
248251
{

0 commit comments

Comments
 (0)