From a2c8ceffd1c0eba6e313b95aea4492304a03c455 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Tue, 19 Feb 2013 22:56:05 +0400 Subject: [PATCH] Clear dictionaries lists before dictionaries rescan --- mainwindow.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainwindow.cc b/mainwindow.cc index b8a0a3e0..fd12c4b4 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -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 );