Disable the Scan Pop-up when a Preferences dialog is open

This commit is contained in:
Tvangeste 2013-05-17 14:34:28 +02:00
parent 2193b78ddf
commit 2b9dd55804

View file

@ -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();
}