mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 07:24:07 +00:00
Merge remote-tracking branch 'gd/master' into staged
This commit is contained in:
commit
6c72f650fe
|
@ -3780,8 +3780,13 @@ void MainWindow::applyWordsZoomLevel()
|
||||||
}
|
}
|
||||||
|
|
||||||
wordsZoomBase->setEnabled( cfg.preferences.wordsZoomLevel != 0 );
|
wordsZoomBase->setEnabled( cfg.preferences.wordsZoomLevel != 0 );
|
||||||
// groupList->setFixedHeight(translateLine->height());
|
|
||||||
groupList->parentWidget()->layout()->activate();
|
if( !cfg.preferences.searchInDock )
|
||||||
|
{
|
||||||
|
// Invalidating navToolbar's layout displays translateBoxWidget w/o the need to press the toolbar
|
||||||
|
// extension button when Words Zoom level decreases enough for translateBoxWidget to fit in the toolbar.
|
||||||
|
navToolbar->layout()->invalidate();
|
||||||
|
}
|
||||||
|
|
||||||
if ( scanPopup.get() )
|
if ( scanPopup.get() )
|
||||||
scanPopup->applyWordsZoomLevel();
|
scanPopup->applyWordsZoomLevel();
|
||||||
|
|
Loading…
Reference in a new issue