fix(ui): bind search focus to Ctrl+K instead of OemQuestion
OemQuestion is the '#' key on a German layout, so the window-level binding both swallowed '#' app-wide and left Ctrl+K dead — even though the search box already advertises 'Ctrl K' as its shortcut.
This commit is contained in:
@@ -18,8 +18,9 @@
|
||||
<converters:WorkerLogLevelToBrushConverter x:Key="WorkerLogLevelToBrush"/>
|
||||
</Window.Resources>
|
||||
<Window.KeyBindings>
|
||||
<KeyBinding Gesture="OemQuestion" Command="{Binding FocusSearchCommand}"/>
|
||||
<KeyBinding Gesture="Shift+OemQuestion" Command="{Binding FocusSearchCommand}"/>
|
||||
<!-- OemQuestion is the '#' key on a German layout: binding it here swallowed the
|
||||
character app-wide. Ctrl+K is what the search box advertises anyway. -->
|
||||
<KeyBinding Gesture="Ctrl+K" Command="{Binding FocusSearchCommand}"/>
|
||||
<KeyBinding Gesture="Ctrl+N" Command="{Binding FocusAddTaskCommand}"/>
|
||||
</Window.KeyBindings>
|
||||
<Grid x:Name="RootGrid" RowDefinitions="36,*,22">
|
||||
|
||||
Reference in New Issue
Block a user