UI: Fix hotkeys working even when disabled in focus
Fixes a bug where the hotkey inject would trigger hotkeys despite hotkeys being disabled when in focus.
This commit is contained in:
@@ -107,6 +107,11 @@ public:
|
||||
|
||||
void EnableInFocusHotkeys(bool enable);
|
||||
|
||||
inline bool HotkeysEnabledInFocus() const
|
||||
{
|
||||
return enableHotkeysInFocus;
|
||||
}
|
||||
|
||||
inline QMainWindow *GetMainWindow() const { return mainWindow.data(); }
|
||||
|
||||
inline config_t *GlobalConfig() const { return globalConfig; }
|
||||
|
Reference in New Issue
Block a user