Clear dictionaries lists before dictionaries rescan

This commit is contained in:
Abs62 2013-02-19 22:56:05 +04:00
parent 824e5846a7
commit a2c8ceffd1

View file

@ -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 );