mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 03:14:06 +00:00
Some strange crashes
This commit is contained in:
parent
befed79d5e
commit
ce742142a1
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue