Merge pull request #1116 from xiaoyifang/fix/headwords-mixed

fix: the headwords got mixed together
This commit is contained in:
xiaoyifang 2023-09-02 22:41:56 +08:00 committed by GitHub
commit 97db29030a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,6 +123,7 @@ void DictHeadwords::setup( Dictionary::Class * dict_ )
QApplication::setOverrideCursor( Qt::WaitCursor ); QApplication::setOverrideCursor( Qt::WaitCursor );
dict = dict_; dict = dict_;
sortedWords.clear();
setWindowTitle( QString::fromUtf8( dict->getName().c_str() ) ); setWindowTitle( QString::fromUtf8( dict->getName().c_str() ) );