Some strange crashes

This commit is contained in:
Abs62 2012-12-22 21:46:53 +04:00
parent befed79d5e
commit ce742142a1

View file

@ -1383,6 +1383,8 @@ void MainWindow::editDictionaries( unsigned editDictionaryGroup )
wordFinder.clear(); wordFinder.clear();
dictionariesUnmuted.clear(); dictionariesUnmuted.clear();
{ // Limit existence of newCfg
Config::Class newCfg = cfg; Config::Class newCfg = cfg;
EditDictionaries dicts( this, newCfg, dictionaries, groupInstances, dictNetMgr ); EditDictionaries dicts( this, newCfg, dictionaries, groupInstances, dictNetMgr );
@ -1416,6 +1418,8 @@ void MainWindow::editDictionaries( unsigned editDictionaryGroup )
Config::save( cfg ); Config::save( cfg );
} }
}
makeScanPopup(); makeScanPopup();
installHotKeys(); installHotKeys();
} }