File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,11 @@ private static void CustomQueryHotkey(CustomPluginHotkey customPluginHotkey)
535535
536536 private static void GlobalPluginHotkey ( GlobalPluginHotkeyPair pair )
537537 {
538- if ( _mainViewModel . ShouldIgnoreHotkeys ( ) || pair . Metadata . Disabled )
538+ if ( pair . Metadata . Disabled || // Check plugin enabled state
539+ App . API . PluginModified ( pair . Metadata . ID ) ) // Check plugin modified state
540+ return ;
541+
542+ if ( _mainViewModel . ShouldIgnoreHotkeys ( ) )
539543 return ;
540544
541545 pair . GlobalPluginHotkey . Action ? . Invoke ( ) ;
@@ -557,6 +561,7 @@ private static void WindowPluginHotkey(WindowPluginHotkeyPair pair)
557561
558562 if ( metadata . ID != pluginId || // Check plugin ID match
559563 metadata . Disabled || // Check plugin enabled state
564+ App . API . PluginModified ( metadata . ID ) || // Check plugin modified state
560565 ! selectedResult . HotkeyIds . Contains ( pluginHotkey . Id ) || // Check hotkey supported state
561566 pluginHotkey . Action == null ) // Check action nullability
562567 continue ;
You can’t perform that action at this time.
0 commit comments