mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Let scanPopup always constructed
Before: Construst Scanpopup only when both enableClipboardHotkey and enableScanPopup are true Now: Always construct ScanPopup so that users can freely enable Copy->ScanPopup through navbar or tray
This commit is contained in:
parent
8232bc208d
commit
e0c193bcb6
|
@ -1497,10 +1497,6 @@ void MainWindow::makeScanPopup()
|
|||
{
|
||||
scanPopup.reset();
|
||||
|
||||
// Later this will be remove, we want singluar way to toggling ScanPopup
|
||||
if ( !cfg.preferences.enableClipboardHotkey )
|
||||
return;
|
||||
|
||||
scanPopup = new ScanPopup( 0, cfg, articleNetMgr, audioPlayerFactory.player(),
|
||||
dictionaries, groupInstances, history );
|
||||
|
||||
|
|
Loading…
Reference in a new issue