mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Clear dictionaries lists before dictionaries rescan
This commit is contained in:
parent
824e5846a7
commit
a2c8ceffd1
|
@ -2875,6 +2875,9 @@ void MainWindow::on_rescanFiles_triggered()
|
|||
scanPopup.reset(); // No scan popup either. No one should use dictionaries.
|
||||
|
||||
groupInstances.clear(); // Release all the dictionaries they hold
|
||||
dictionaries.clear();
|
||||
dictionariesUnmuted.clear();
|
||||
dictionaryBar.setDictionaries( dictionaries );
|
||||
|
||||
loadDictionaries( this, true, cfg, dictionaries, dictNetMgr );
|
||||
|
||||
|
|
Loading…
Reference in a new issue