Merge pull request #1142 from xiaoyifang/fix/issue-1139

fix: suggestion list scroll to the top
This commit is contained in:
xiaoyifang 2023-09-14 09:30:14 +08:00 committed by GitHub
commit 9929c60130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,6 +101,8 @@ void TranslateBox::setModel( QStringList & _words )
model->setStringList( _words );
completer->popup()->scrollToTop();
connect( completer,
QOverload< const QString & >::of( &QCompleter::activated ),
translate_line,