From 8a20a7a54231526e962f4319e8db4678126c57d9 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 12 Sep 2024 17:05:05 +0800 Subject: [PATCH] ux: set `Focusable` by XAML instead of hard coded --- src/Views/ChangeCollectionView.axaml.cs | 1 - src/Views/WorkingCopy.axaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Views/ChangeCollectionView.axaml.cs b/src/Views/ChangeCollectionView.axaml.cs index 5898ed73..f364d7e4 100644 --- a/src/Views/ChangeCollectionView.axaml.cs +++ b/src/Views/ChangeCollectionView.axaml.cs @@ -96,7 +96,6 @@ namespace SourceGit.Views public ChangeCollectionView() { - Focusable = true; InitializeComponent(); } diff --git a/src/Views/WorkingCopy.axaml b/src/Views/WorkingCopy.axaml index 0c7e46f5..ebf4b069 100644 --- a/src/Views/WorkingCopy.axaml +++ b/src/Views/WorkingCopy.axaml @@ -65,6 +65,7 @@