mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
stop trigger global hotkey when shell plugin is not enabled
This commit is contained in:
parent
f6d8d3e9a9
commit
3298194a45
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ namespace Flow.Launcher.Plugin.Shell
|
|||
|
||||
bool API_GlobalKeyboardEvent(int keyevent, int vkcode, SpecialKeyState state)
|
||||
{
|
||||
if (_settings.ReplaceWinR)
|
||||
if (!context.CurrentPluginMetadata.Disabled && _settings.ReplaceWinR)
|
||||
{
|
||||
if (keyevent == (int)KeyEvent.WM_KEYDOWN && vkcode == (int)Keys.R && state.WinPressed)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue