Skip to content

Commit 40ba1ae

Browse files
committed
Do not validate key gesture for plugin hotkeys
1 parent e8707ad commit 40ba1ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ private void PluginHotkeySettings_Loaded(object sender, RoutedEventArgs e)
8282
HotkeyControl.HotkeyType.GlobalPluginHotkey :
8383
HotkeyControl.HotkeyType.WindowPluginHotkey,
8484
DefaultHotkey = hotkey.DefaultHotkey,
85-
ValidateKeyGesture = true
85+
ValidateKeyGesture = false,
86+
Hotkey = hotkeySetting
8687
};
87-
hotkeyControl.SetHotkey(hotkeySetting, true);
8888
hotkeyControl.ChangeHotkey = new RelayCommand<HotkeyModel>((h) => ChangePluginHotkey(metadata, hotkey, h));
8989
card.Content = hotkeyControl;
9090
}

0 commit comments

Comments
 (0)