fix: modal dialog did not take focus after show (#1225)

Co-authored-by: Gadfly <gadfly@gadfly.vip>
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-22 16:02:10 +08:00
parent a42df87b9c
commit 7be37424e1
No known key found for this signature in database

View file

@ -18,6 +18,8 @@ namespace SourceGit.Views
public ChromelessWindow() public ChromelessWindow()
{ {
Focusable = true;
if (OperatingSystem.IsLinux()) if (OperatingSystem.IsLinux())
{ {
if (UseSystemWindowFrame) if (UseSystemWindowFrame)