diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index 5501a2db..5b964d1d 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -2347,10 +2347,13 @@ void MainWindow::setInputLineText( QString text, WildcardPolicy wildcardPolicy, if ( wildcardPolicy == WildcardPolicy::EscapeWildcards ) text = Folding::escapeWildcardSymbols( text ); - if ( popupAction == NoPopupChange || cfg.preferences.searchInDock ) + if ( popupAction == NoPopupChange || cfg.preferences.searchInDock ) { translateLine->setText( text ); - else + } + else { translateBox->setText( text, popupAction == EnablePopup ); + } + GlobalBroadcaster::instance()->translateLineText = text; } void MainWindow::handleEsc()