VirtualBox

Changeset 37764 in vbox for trunk


Ignore:
Timestamp:
Jul 4, 2011 1:48:03 PM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: Machine settings / USB page: Some UI fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp

    r37126 r37764  
    469469    QString strExtPackName = "Oracle VM VirtualBox Extension Pack";
    470470    CExtPack extPack = vboxGlobal().virtualBox().GetExtensionPackManager().Find(strExtPackName);
    471     if (mCbUSB2->isChecked() && (extPack.isNull() || !extPack.GetUsable()))
     471    if (mGbUSB->isChecked() && mCbUSB2->isChecked() && (extPack.isNull() || !extPack.GetUsable()))
    472472    {
    473473        strWarningText = tr("USB 2.0 is currently enabled for this virtual machine. "
     
    533533{
    534534    /* Enable/disable USB children: */
    535     mUSBChild->setEnabled(fEnabled);
     535    mUSBChild->setEnabled(isMachineInValidMode() && fEnabled);
     536    mCbUSB2->setEnabled(isMachineOffline() && fEnabled);
    536537    if (fEnabled)
    537538    {
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