mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +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 )
|
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
|
||||||
|
|
Loading…
Reference in a new issue