mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
parent
4a30302864
commit
d8398a2be7
|
@ -2986,7 +2986,7 @@ void MainWindow::installHotKeys()
|
|||
if ( cfg.preferences.enableMainWindowHotkey )
|
||||
hotkeyWrapper->setGlobalKey( cfg.preferences.mainWindowHotkey,0 );
|
||||
|
||||
if ( cfg.preferences.enableClipboardHotkey && scanPopup.get() )
|
||||
if ( cfg.preferences.enableClipboardHotkey && scanPopup.get() && !enableScanningAction->isChecked() )
|
||||
{
|
||||
hotkeyWrapper->setGlobalKey( cfg.preferences.clipboardHotkey,1 );
|
||||
}
|
||||
|
@ -3196,6 +3196,7 @@ void MainWindow::scanEnableToggled( bool on )
|
|||
}
|
||||
}
|
||||
|
||||
installHotKeys();
|
||||
updateTrayIcon();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue