Changeset 87366 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 22, 2021 1:22:18 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic2.cpp
r87355 r87366 184 184 if (!m_pGAISOFilePathSelector) 185 185 return false; 186 /* GA ISO selector should not be empty since GA install check box is checked at this point: */ 186 187 const QString &strPath = m_pGAISOFilePathSelector->path(); 187 188 if (strPath.isNull() || strPath.isEmpty()) 188 return true;189 return false; 189 190 QFileInfo fileInfo(strPath); 190 191 if (!fileInfo.exists() || !fileInfo.isReadable()) … … 195 196 void UIWizardNewVMPage2::markWidgets() const 196 197 { 197 if (m_pGAISOFilePathSelector )198 if (m_pGAISOFilePathSelector && m_pGAInstallCheckBox->isChecked()) 198 199 m_pGAISOFilePathSelector->mark(!checkGAISOFile()); 199 200 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp
r87364 r87366 313 313 { 314 314 UIWizardNewVMPage1::markWidgets(); 315 316 if (m_pGAISOFilePathSelector) 317 m_pGAISOFilePathSelector->mark(isUnattendedEnabled() && !checkGAISOFile()); 315 UIWizardNewVMPage2::markWidgets(); 318 316 } 319 317 … … 447 445 } 448 446 /* Check the GA installation medium: */ 449 if ( !checkGAISOFile())447 if (m_pGAInstallCheckBox->isChecked() && !checkGAISOFile()) 450 448 { 451 449 m_pToolBox->setPageTitleIcon(ExpertToolboxItems_Unattended,
Note:
See TracChangeset
for help on using the changeset viewer.