VirtualBox

Changeset 23229 in vbox for trunk


Ignore:
Timestamp:
Sep 22, 2009 4:25:03 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: New Storage UI: Fix unnecessary warning in case of no mediums present when opening VM Settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsHD.cpp

    r23225 r23229  
    579579            if (freeMediumIds.size() > 1)
    580580                setAttMediumId (freeMediumIds [1]);
     581            else if (freeMediumIds.size() > 0)
     582                setAttMediumId (freeMediumIds [0]);
    581583            break;
    582584        default:
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