VirtualBox

Ignore:
Timestamp:
Aug 6, 2020 3:19:33 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9515. Initializing RAM field correctly in guided mode.

File:
1 edited

Legend:

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

    r85173 r85637  
    257257    retranslateUi();
    258258
     259    if (!field("type").canConvert<CGuestOSType>())
     260        return;
     261
    259262    /* Get recommended 'ram' field value: */
    260263    CGuestOSType type = field("type").value<CGuestOSType>();
     
    263266
    264267    /* Prepare initial disk choice: */
    265     if (field("type").value<CGuestOSType>().GetRecommendedHDD() != 0)
     268    if (type.GetRecommendedHDD() != 0)
    266269    {
    267270        if (m_pDiskCreate)
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