VirtualBox

Changeset 99628 in vbox


Ignore:
Timestamp:
May 5, 2023 10:18:03 AM (17 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Make sure restricted tools are closed when switching between cloud and local VMs.

File:
1 edited

Legend:

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

    r99390 r99628  
    11141114    m_pPaneTools->setToolClassEnabled(UIToolClass_Machine, fCurrentItemIsOk);
    11151115
     1116    /* Take restrictions into account, closing all restricted tools: */
     1117    foreach (const UIToolType &enmRestrictedType, retrictedTypes)
     1118        m_pPaneToolsMachine->closeTool(enmRestrictedType);
     1119
    11161120    /* Propagate current item anyway: */
    11171121    m_pPaneToolsMachine->setCurrentItem(pItem);
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