Changeset 102308 in vbox
- Timestamp:
- Nov 27, 2023 12:44:53 PM (16 months ago)
- svn:sync-xref-src-repo-rev:
- 160442
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r102269 r102308 439 439 } 440 440 441 /* Update tools restrictions for currently selected item: */ 442 UIVirtualMachineItem *pItem = currentItem(); 443 if (pItem) 444 updateToolsMenuMachine(pItem); 445 else 446 updateToolsMenuGlobal(); 447 441 448 /* Recache current item info if machine or group item selected: */ 442 449 if (isMachineItemSelected() || isGroupItemSelected()) … … 455 462 ? SelectionType_FirstIsCloudMachineItem 456 463 : SelectionType_Invalid; 457 /* Acquire current item: */ 458 UIVirtualMachineItem *pItem = currentItem();464 465 /* Update toolbar if selection type or item accessibility got changed: */ 459 466 const bool fCurrentItemIsOk = pItem && pItem->accessible(); 460 461 /* Update toolbar if selection type or item accessibility got changed: */462 467 if ( m_enmSelectionType != enmSelectedItemType 463 468 || m_fSelectedMachineItemAccessible != fCurrentItemIsOk)
Note:
See TracChangeset
for help on using the changeset viewer.