Changeset 102110 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 15, 2023 3:54:09 PM (16 months ago)
- svn:sync-xref-src-repo-rev:
- 160231
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r102107 r102110 542 542 { 543 543 case UIToolClass_Global: pMenu = m_pMenuToolsGlobal; break; 544 case UIToolClass_Machine: pMenu = m_pMenuToolsMachine; break;544 case UIToolClass_Machine: pMenu = m_pMenuToolsMachine; updateToolsMenuMachine(); break; 545 545 default: break; 546 546 } … … 1117 1117 } 1118 1118 1119 void UIVirtualBoxManagerWidget:: recacheCurrentItemInformation(bool fDontRaiseErrorPane /* = false */)1119 void UIVirtualBoxManagerWidget::updateToolsMenuMachine() 1120 1120 { 1121 1121 /* Get current item: */ … … 1136 1136 foreach (const UIToolType &enmRestrictedType, retrictedTypes) 1137 1137 m_pPaneToolsMachine->closeTool(enmRestrictedType); 1138 } 1139 1140 void UIVirtualBoxManagerWidget::recacheCurrentItemInformation(bool fDontRaiseErrorPane /* = false */) 1141 { 1142 /* Get current item: */ 1143 UIVirtualMachineItem *pItem = currentItem(); 1144 const bool fCurrentItemIsOk = pItem && pItem->accessible(); 1138 1145 1139 1146 /* Propagate current item anyway: */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.h
r102098 r102110 341 341 /** @name Tools / Common stuff. 342 342 * @{ */ 343 /** Updates Machine tools menu. */ 344 void updateToolsMenuMachine(); 345 343 346 /** Recaches current item information. 344 347 * @param fDontRaiseErrorPane Brings whether we should not raise error-pane. */
Note:
See TracChangeset
for help on using the changeset viewer.