VirtualBox

Changeset 86947 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 20, 2020 6:27:49 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
141466
Message:

FE/Qt: bugref:9831. Checking font size before setting while changing it thru dialog menu action.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp

    r86946 r86947  
    23042304    else if (sender() == m_pFontSizeSmallerAction)
    23052305        iFontPointSize -= iFontPointSizeChangeStep;
     2306
     2307    if (iFontPointSize >= fontScaleMinMax.second * m_pTabManager->initialFontPointSize() ||
     2308        iFontPointSize <= fontScaleMinMax.first * m_pTabManager->initialFontPointSize())
     2309        return;
    23062310    m_pTabManager->setFontPointSize(iFontPointSize);
    23072311}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette