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