Minor bugfixes for the new UI mode.

This commit is contained in:
Tvangeste 2012-12-25 11:12:13 +01:00
parent 42c3b37a45
commit 70a2c8bfbe

View file

@ -1613,7 +1613,7 @@ void MainWindow::currentGroupChanged( QString const & )
if( !showHistory ) if( !showHistory )
{ {
translateInputChanged( ui.translateLine->text() ); translateInputChanged( translateLine->text() );
translateInputFinished( false ); translateInputFinished( false );
} }
@ -1838,7 +1838,7 @@ void MainWindow::applyMutedDictionariesState()
{ {
// Redo the current search request // Redo the current search request
if( !showHistory ) if( !showHistory )
translateInputChanged( ui.translateLine->text() ); translateInputChanged( translateLine->text() );
ArticleView *view = getCurrentArticleView(); ArticleView *view = getCurrentArticleView();
@ -3238,8 +3238,8 @@ void MainWindow::foundDictsContextMenuRequested( const QPoint &pos )
void MainWindow::sendWordToInputLine( const QString & word ) void MainWindow::sendWordToInputLine( const QString & word )
{ {
ui.translateLine->clear(); translateLine->clear();
ui.translateLine->setText( word ); translateLine->setText( word );
} }
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN32