Changeset 88758 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 28, 2021 10:36:49 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144088
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r88752 r88758 703 703 void UIVirtualBoxManager::sltHandleChooserPaneIndexChange() 704 704 { 705 // WORKAROUND: 706 // These menus are dynamical since local and cloud VMs have different menu contents. 707 // Yet .. we have to prepare Machine/Group menus beforehand, they contains shortcuts. 708 if (currentItem()) 709 { 710 updateMenuGroup(actionPool()->action(UIActionIndexMN_M_Group)->menu()); 711 updateMenuMachine(actionPool()->action(UIActionIndexMN_M_Machine)->menu()); 712 } 713 705 714 updateActionsVisibility(); 706 715 updateActionsAppearance(); … … 2170 2179 prepareConnections(); 2171 2180 2172 // WORKAROUND:2173 // These menus are dynamical since local and cloud VMs have different menu contents.2174 // Yet .. we have to prepare Machine/Group menus beforehand, they contains shortcuts.2175 updateMenuGroup(actionPool()->action(UIActionIndexMN_M_Group)->menu());2176 updateMenuMachine(actionPool()->action(UIActionIndexMN_M_Machine)->menu());2177 2178 2181 /* Update actions initially: */ 2179 updateActionsVisibility(); 2180 updateActionsAppearance(); 2182 sltHandleChooserPaneIndexChange(); 2181 2183 2182 2184 /* Load settings: */
Note:
See TracChangeset
for help on using the changeset viewer.