From 7be37424e10f596d61049d114e5e5e0b73474169 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 22 Apr 2025 16:02:10 +0800 Subject: [PATCH] fix: modal dialog did not take focus after show (#1225) Co-authored-by: Gadfly Signed-off-by: leo --- src/Views/ChromelessWindow.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Views/ChromelessWindow.cs b/src/Views/ChromelessWindow.cs index 647c657e..dd2485d4 100644 --- a/src/Views/ChromelessWindow.cs +++ b/src/Views/ChromelessWindow.cs @@ -18,6 +18,8 @@ namespace SourceGit.Views public ChromelessWindow() { + Focusable = true; + if (OperatingSystem.IsLinux()) { if (UseSystemWindowFrame)