mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Check hotkey mapper count
This commit is contained in:
parent
f837b2a5d2
commit
35f8ea3b38
1 changed files with 2 additions and 1 deletions
|
|
@ -191,10 +191,11 @@ internal static class HotKeyMapper
|
|||
}
|
||||
}
|
||||
|
||||
private static void SetWindowHotkey(KeyGesture keyGesture, List<(PluginMetadata Metadata, SearchWindowPluginHotkey PluginHotkey)> hotkeyModels)
|
||||
internal static void SetWindowHotkey(KeyGesture keyGesture, List<(PluginMetadata Metadata, SearchWindowPluginHotkey PluginHotkey)> hotkeyModels)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (hotkeyModels.Count == 0) return;
|
||||
if (Application.Current?.MainWindow is MainWindow window)
|
||||
{
|
||||
var command = BuildCommand(hotkeyModels);
|
||||
|
|
|
|||
Loading…
Reference in a new issue