diff --git a/mainwindow.cc b/mainwindow.cc index 99c035e5..759fba85 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -1383,6 +1383,8 @@ void MainWindow::editDictionaries( unsigned editDictionaryGroup ) wordFinder.clear(); dictionariesUnmuted.clear(); + { // Limit existence of newCfg + Config::Class newCfg = cfg; EditDictionaries dicts( this, newCfg, dictionaries, groupInstances, dictNetMgr ); @@ -1416,6 +1418,8 @@ void MainWindow::editDictionaries( unsigned editDictionaryGroup ) Config::save( cfg ); } + } + makeScanPopup(); installHotKeys(); }