VirtualBox

Changeset 37894 in vbox


Ignore:
Timestamp:
Jul 12, 2011 12:43:06 PM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: Virtual Medium Manager: Process double-click for hard-disk mediums as 'modify' action.

File:
1 edited

Legend:

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

    r37893 r37894  
    14951495    QTreeWidget *tree = currentTreeWidget();
    14961496
    1497     if (mDoSelect && selectedItem (tree) && mButtonBox->button (QDialogButtonBox::Ok)->isEnabled())
    1498         accept();
     1497    if (mDoSelect)
     1498    {
     1499        if (selectedItem (tree) && mButtonBox->button (QDialogButtonBox::Ok)->isEnabled())
     1500            accept();
     1501    }
     1502    else
     1503    {
     1504        if (currentTreeWidgetType() == VBoxDefs::MediumType_HardDisk)
     1505            doModifyMedium();
     1506    }
    14991507}
    15001508
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