VirtualBox

Changeset 88752 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 28, 2021 4:39:35 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Fetch Machine/Group menu contents at manager startup; These menus are dynamical because local/cloud VMs have different contents, so it's being generated on-the-fly in usual case which prevents shortcuts from being activated.

File:
1 edited

Legend:

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

    r88650 r88752  
    21702170    prepareConnections();
    21712171
     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
    21722178    /* Update actions initially: */
    21732179    updateActionsVisibility();
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