Changeset 93643 in vbox for trunk/src/VBox
- Timestamp:
- Feb 7, 2022 4:58:33 PM (3 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/UIWizardNewVMExpertPage.cpp
r93642 r93643 848 848 void UIWizardNewVMExpertPage::sltSelectedEditionChanged(ulong uEditionIndex) 849 849 { 850 AssertReturnVoid(wizardWindow<UIWizardNewVM>()); 851 wizardWindow<UIWizardNewVM>()->setSelectedWindowImageIndex(uEditionIndex); 850 UIWizardNewVM *pWizard = wizardWindow<UIWizardNewVM>(); 851 AssertReturnVoid(pWizard); 852 pWizard->setSelectedWindowImageIndex(uEditionIndex); 853 /* Update the OS type since IUnattended updates the detected OS type after edition (image index) changes: */ 854 UIWizardNewVMNameOSTypeCommon::guessOSTypeDetectedOSTypeString(m_pNameAndSystemEditor, pWizard->detectedOSTypeId()); 852 855 } 853 856 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp
r93642 r93643 493 493 void UIWizardNewVMNameOSTypePage::sltSelectedEditionChanged(ulong uEditionIndex) 494 494 { 495 AssertReturnVoid(wizardWindow<UIWizardNewVM>()); 496 wizardWindow<UIWizardNewVM>()->setSelectedWindowImageIndex(uEditionIndex); 495 UIWizardNewVM *pWizard = wizardWindow<UIWizardNewVM>(); 496 AssertReturnVoid(pWizard); 497 pWizard->setSelectedWindowImageIndex(uEditionIndex); 498 /* Update the OS type since IUnattended updates the detected OS type after edition (image index) changes: */ 499 UIWizardNewVMNameOSTypeCommon::guessOSTypeDetectedOSTypeString(m_pNameAndSystemEditor, pWizard->detectedOSTypeId()); 497 500 } 498 501
Note:
See TracChangeset
for help on using the changeset viewer.