mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Merge pull request #1142 from xiaoyifang/fix/issue-1139
fix: suggestion list scroll to the top
This commit is contained in:
commit
9929c60130
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue