diff --git a/src/ui/translatebox.cc b/src/ui/translatebox.cc index 403c1785..ef890a63 100644 --- a/src/ui/translatebox.cc +++ b/src/ui/translatebox.cc @@ -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,