mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
fix: suggestion list scroll to the top
This commit is contained in:
parent
6f06f083da
commit
424642cb3d
|
@ -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