VirtualBox

Changeset 88114 in vbox


Ignore:
Timestamp:
Mar 15, 2021 8:25:43 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9950. Enabling/disabling the checkbox

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
Files:
2 edited

Legend:

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

    r88110 r88114  
    422422}
    423423
     424void UIWizardNewVMPage1::setSkipCheckBoxEnable(bool fEnable)
     425{
     426    if (m_pSkipUnattendedCheckBox)
     427        m_pSkipUnattendedCheckBox->setEnabled(fEnable);
     428}
     429
    424430void UIWizardNewVMPage1::setTypeByISODetectedOSType(const QString &strDetectedOSType)
    425431{
     
    536542    if (m_pNameAndSystemEditor)
    537543        m_pNameAndSystemEditor->setFocus();
     544    setSkipCheckBoxEnable(isUnattendedEnabled());
    538545}
    539546
     
    560567    if (fileInfo.exists() && fileInfo.isReadable())
    561568        uiCommon().updateRecentlyUsedMediumListAndFolder(UIMediumDeviceType_DVD, strPath);
    562 
     569    setSkipCheckBoxEnable(isUnattendedEnabled());
    563570    emit completeChanged();
    564571}
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.h

    r88110 r88114  
    8686    /** Return false if ISO path is not empty but points to an missing or unreadable file. */
    8787    bool checkISOFile() const;
    88 
     88    void setSkipCheckBoxEnable(bool fEnable);
    8989    /** @name Widgets
    9090     * @{ */
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