- Add Close Context menu in main window query bar

(Rarely, you need a way to close the window with just a mouse.)
This commit is contained in:
Dobin Park 2021-10-06 22:10:22 +09:00
parent 66e722bc53
commit 1149ff5cb5

View file

@ -32,7 +32,6 @@
<converters:QuerySuggestionBoxConverter x:Key="QuerySuggestionBoxConverter"/>
<converters:BorderClipConverter x:Key="BorderClipConverter"/>
</Window.Resources>
<Window.InputBindings>
<KeyBinding Key="Escape" Command="{Binding EscCommand}"></KeyBinding>
<KeyBinding Key="F1" Command="{Binding StartHelpCommand}"></KeyBinding>
@ -93,6 +92,7 @@
<MenuItem Command="ApplicationCommands.Paste"/>
<Separator />
<MenuItem Header="{DynamicResource flowlauncher_settings}" Click="OnContextMenusForSettingsClick" />
<MenuItem Command="{Binding EscCommand}" Header="Close"/>
</ContextMenu>
</TextBox.ContextMenu>
</TextBox>