mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
add ctrl+f hotkey to focus the search textbox
This commit is contained in:
parent
4b102dc3f7
commit
d87ee11268
2 changed files with 7 additions and 1 deletions
|
|
@ -879,7 +879,8 @@
|
|||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem
|
||||
KeyDown="OnPluginSettingKeydown">
|
||||
<TabItem.Header>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
|
|
|
|||
|
|
@ -408,5 +408,10 @@ namespace Flow.Launcher
|
|||
if (e.Key == Key.Enter)
|
||||
RefreshPluginListEventHandler(sender, e);
|
||||
}
|
||||
private void OnPluginSettingKeydown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if ((Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control && e.Key == Key.F)
|
||||
pluginFilterTxb.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue