VirtualBox

Changeset 90045 in vbox


Ignore:
Timestamp:
Jul 6, 2021 9:00:45 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996: UINativeWizard: Make sure Next button availability is updated on current page changes as well, not just on completeChange signal being emitted.

File:
1 edited

Legend:

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

    r90032 r90045  
    235235    if (iIndex > m_iLastIndex)
    236236        pPage->initializePage();
     237
     238    /* Disable/enable Next button: */
     239    QPushButton *pButtonNext = wizardButton(WizardButtonType_Next);
     240    AssertMsgReturnVoid(pButtonNext, ("No Next wizard button found!\n"));
     241    pButtonNext->setEnabled(pPage->isComplete());
    237242
    238243    /* Update last index: */
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