From cb39049cb7a5e3ac0de7dd9785008937600f95fe Mon Sep 17 00:00:00 2001 From: YiFang Xiao Date: Sat, 2 Sep 2023 21:07:20 +0800 Subject: [PATCH] fix: the headwords got mixed together --- src/ui/dictheadwords.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/dictheadwords.cc b/src/ui/dictheadwords.cc index 646fae0b..b10f2413 100644 --- a/src/ui/dictheadwords.cc +++ b/src/ui/dictheadwords.cc @@ -123,6 +123,7 @@ void DictHeadwords::setup( Dictionary::Class * dict_ ) QApplication::setOverrideCursor( Qt::WaitCursor ); dict = dict_; + sortedWords.clear(); setWindowTitle( QString::fromUtf8( dict->getName().c_str() ) );