mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 03:14:06 +00:00
Only install main window global hotkey if it is actually enabled.
This commit is contained in:
parent
83115adf6e
commit
06e62ae682
|
@ -1320,6 +1320,7 @@ void MainWindow::installHotKeys()
|
|||
return;
|
||||
}
|
||||
|
||||
if ( cfg.preferences.enableMainWindowHotkey )
|
||||
hotkeyWrapper->setGlobalKey( cfg.preferences.mainWindowHotkey.key1,
|
||||
cfg.preferences.mainWindowHotkey.key2,
|
||||
cfg.preferences.mainWindowHotkey.modifiers,
|
||||
|
|
Loading…
Reference in a new issue