mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +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();
|
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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue