mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Minor bugfixes for the new UI mode.
This commit is contained in:
parent
42c3b37a45
commit
70a2c8bfbe
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue