From a7470345ff5b7db060e3038f72493462d4a9aef7 Mon Sep 17 00:00:00 2001 From: jhdxr Date: Wed, 14 Feb 2018 12:04:38 +0800 Subject: [PATCH] disable input method when binding hotkey (fix #1876) --- Wox/HotkeyControl.xaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Wox/HotkeyControl.xaml b/Wox/HotkeyControl.xaml index 9a57c312cb..affe185567 100644 --- a/Wox/HotkeyControl.xaml +++ b/Wox/HotkeyControl.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:input="clr-namespace:System.Windows.Input;assembly=PresentationCore" mc:Ignorable="d" Height="24" d:DesignHeight="300" d:DesignWidth="300"> @@ -12,7 +13,7 @@ + PreviewKeyDown="TbHotkey_OnPreviewKeyDown" input:InputMethod.IsInputMethodEnabled="False"/> \ No newline at end of file