mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +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 );
|
model->setStringList( _words );
|
||||||
|
|
||||||
|
completer->popup()->scrollToTop();
|
||||||
|
|
||||||
connect( completer,
|
connect( completer,
|
||||||
QOverload< const QString & >::of( &QCompleter::activated ),
|
QOverload< const QString & >::of( &QCompleter::activated ),
|
||||||
translate_line,
|
translate_line,
|
||||||
|
|
Loading…
Reference in a new issue