VirtualBox

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


Ignore:
Timestamp:
Jul 8, 2020 12:02:10 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9515. Working on isComplete of the expert page.

File:
1 edited

Legend:

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

    r85104 r85108  
    339339     * 'ram' field feats the bounds,
    340340     * 'virtualDisk' field feats the rules: */
    341     return UIWizardPage::isComplete() &&
    342            (m_pDiskSkip->isChecked() || !m_pDiskPresent->isChecked() || !uiCommon().medium(m_pDiskSelector->id()).isNull());
     341    if (!UIWizardPage::isComplete() &&
     342        (m_pDiskSkip->isChecked() || !m_pDiskPresent->isChecked() || !uiCommon().medium(m_pDiskSelector->id()).isNull()))
     343        return false;
     344    /* Check unattended install related stuff: */
     345    if (isUnattendedEnabled())
     346    {
     347        /* Check the installation medium: */
     348        if (!checkISOFile())
     349            return false;
     350        /* Check the GA installation medium: */
     351        if (!checkGAISOFile())
     352            return false;
     353    }
     354    return true;
    343355}
    344356
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