mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix HotkeyControl2 not working in WelcomePage2 for setting the global show/hide hotkey
This commit is contained in:
parent
8c90980b47
commit
ebb49165c0
1 changed files with 6 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ namespace Flow.Launcher.Resources.Pages
|
|||
{
|
||||
public partial class WelcomePage2
|
||||
{
|
||||
private Settings Settings { get; set; }
|
||||
public Settings Settings { get; set; }
|
||||
|
||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
||||
{
|
||||
|
|
@ -24,5 +24,10 @@ namespace Flow.Launcher.Resources.Pages
|
|||
InitializeComponent();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
private static void SetTogglingHotkey(HotkeyModel hotkey)
|
||||
{
|
||||
HotKeyMapper.SetHotkey(hotkey, HotKeyMapper.OnToggleHotkey);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue