Changeset 90262 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 20, 2021 1:18:32 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/UIWizardNewVM.cpp
r90159 r90262 66 66 , m_iMemorySize(0) 67 67 , m_iUnattendedInstallPageIndex(-1) 68 , m_uMediumVariant(0) 69 , m_uMediumSize(0) 68 70 { 69 71 #ifndef VBOX_WS_MAC -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp
r90259 r90262 362 362 m_pDiskSelector->setCurrentIndex(0); 363 363 } 364 364 /* Initialize the medium size widgets and the member parameter of the wizard: */ 365 365 if (m_pSizeAndLocationGroup && !m_userModifiedParameters.contains("MediumSize")) 366 { 366 367 m_pSizeAndLocationGroup->setMediumSize(iRecommendedDiskSize); 368 newVMWizardPropertySet(MediumSize, iRecommendedDiskSize); 369 } 367 370 368 371 // if (m_pProductKeyLabel) … … 596 599 { 597 600 qulonglong uSize = pWizard->mediumSize(); 598 if( uSize >= m_uMediumSizeMin && uSize <=m_uMediumSizeMax)601 if( uSize < m_uMediumSizeMin || uSize > m_uMediumSizeMax) 599 602 { 600 603 m_pToolBox->setPageTitleIcon(ExpertToolboxItems_Disk, … … 688 691 { 689 692 m_userModifiedParameters << "MediumSize"; 690 newVMWizardPropertySet(Me morySize, uSize);693 newVMWizardPropertySet(MediumSize, uSize); 691 694 emit completeChanged(); 692 695 }
Note:
See TracChangeset
for help on using the changeset viewer.