VirtualBox

Changeset 90712 in vbox


Ignore:
Timestamp:
Aug 18, 2021 9:35:01 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996: UINativeWizard: Fixing layout regression for r146200; Missing stretch logic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizard.cpp

    r90589 r90712  
    458458                for (int i = WizardButtonType_Invalid + 1; i < WizardButtonType_Max; ++i)
    459459                {
    460                     /* Create the help button only if the help hash tag is set: */
    461                     if (m_strHelpHashtag.isEmpty() && i == WizardButtonType_Help)
    462                         continue;
    463460                    const WizardButtonType enmType = (WizardButtonType)i;
    464                     m_buttons[enmType] = new QPushButton(pWidgetBottom);
     461                    /* Create Help button only if help hash tag is set.
     462                     * Create other buttons in any case: */
     463                    if (enmType != WizardButtonType_Help || !m_strHelpHashtag.isEmpty())
     464                        m_buttons[enmType] = new QPushButton(pWidgetBottom);
    465465                    QPushButton *pButton = wizardButton(enmType);
    466466                    if (pButton)
Note: See TracChangeset for help on using the changeset viewer.

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