VirtualBox

Changeset 83024 in vbox for trunk


Ignore:
Timestamp:
Feb 7, 2020 5:31:19 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: No Snapshot/Log tools for cloud VMs.

File:
1 edited

Legend:

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

    r82968 r83024  
    704704    const bool fCurrentItemIsOk = pItem && pItem->accessible();
    705705
     706    /* Update machine tools restrictions: */
     707    QList<UIToolType> retrictedTypes;
     708    if (pItem->itemType() != UIVirtualMachineItem::ItemType_Local)
     709    {
     710        retrictedTypes << UIToolType_Snapshots << UIToolType_Logs;
     711        if (retrictedTypes.contains(m_pPaneTools->toolsType()))
     712            m_pPaneTools->setToolsType(UIToolType_Details);
     713    }
     714    m_pPaneTools->setRestrictedToolTypes(retrictedTypes);
    706715    /* Update machine tools availability: */
    707716    m_pPaneTools->setToolsEnabled(UIToolClass_Machine, fCurrentItemIsOk);
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