VirtualBox

Changeset 68252 in vbox


Ignore:
Timestamp:
Aug 2, 2017 3:29:25 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8900: Selector UI: Make sure corresponding tool set is opened while trying to open any tool of that set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r68250 r68252  
    11021102void UISelectorWindow::sltHandleToolOpenedMachine(ToolTypeMachine enmType)
    11031103{
     1104    /* First, make sure corresponding tool set opened: */
     1105    if (!actionPool()->action(UIActionIndexST_M_Tools_T_Machine)->isChecked())
     1106        actionPool()->action(UIActionIndexST_M_Tools_T_Machine)->setChecked(true);
     1107
    11041108    /* Open corresponding tool: */
    11051109    m_pPaneToolsMachine->openTool(enmType);
     
    11191123void UISelectorWindow::sltHandleToolOpenedGlobal(ToolTypeGlobal enmType)
    11201124{
     1125    /* First, make sure corresponding tool set opened: */
     1126    if (!actionPool()->action(UIActionIndexST_M_Tools_T_Global)->isChecked())
     1127        actionPool()->action(UIActionIndexST_M_Tools_T_Global)->setChecked(true);
     1128
    11211129    /* Open corresponding tool: */
    11221130    m_pPaneToolsGlobal->openTool(enmType);
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