mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
Disable the Scan Pop-up when a Preferences dialog is open
This commit is contained in:
parent
2193b78ddf
commit
2b9dd55804
|
@ -1710,6 +1710,7 @@ void MainWindow::editCurrentGroup()
|
|||
void MainWindow::editPreferences()
|
||||
{
|
||||
hotkeyWrapper.reset(); // So we could use the keys it hooks
|
||||
scanPopup.reset(); // No scan popup either. No one should use dictionaries.
|
||||
|
||||
Preferences preferences( this, cfg.preferences );
|
||||
|
||||
|
@ -1785,6 +1786,7 @@ void MainWindow::editPreferences()
|
|||
Config::save( cfg );
|
||||
}
|
||||
|
||||
makeScanPopup();
|
||||
installHotKeys();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue