- Timestamp:
- Feb 7, 2020 5:31:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r82968 r83024 704 704 const bool fCurrentItemIsOk = pItem && pItem->accessible(); 705 705 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); 706 715 /* Update machine tools availability: */ 707 716 m_pPaneTools->setToolsEnabled(UIToolClass_Machine, fCurrentItemIsOk);
Note:
See TracChangeset
for help on using the changeset viewer.