VirtualBox

Changeset 73632 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 13, 2018 11:31:27 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: VirtualBox Manager UI: Missed few things in r124300.

File:
1 edited

Legend:

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

    r73631 r73632  
    226226
    227227    /* If global item is selected and we are on machine tools pane => switch to global tools pane: */
    228     if (isGlobalItemSelected() && m_pSlidingWidget->state() == UISlidingWidget::State_Start)
     228    if (   isGlobalItemSelected()
     229        && m_pSlidingWidget->state() == UISlidingWidget::State_Start)
    229230    {
    230231        m_pSlidingWidget->moveForward();
     
    234235    else
    235236
    236     /* If machine item is selected and we are on global tools pane => switch to machine tools pane: */
    237     if (isMachineItemSelected() && m_pSlidingWidget->state() == UISlidingWidget::State_Final)
     237    /* If machine or group item is selected and we are on global tools pane => switch to machine tools pane: */
     238    if (   (isMachineItemSelected() || isGroupItemSelected())
     239        && m_pSlidingWidget->state() == UISlidingWidget::State_Final)
    238240    {
    239241        m_pSlidingWidget->moveBackward();
     
    241243    }
    242244
    243     /* If that was machine item selected: */
    244     if (   isMachineItemSelected()
    245         || isGroupItemSelected())
     245    /* If that was machine or group item selected: */
     246    if (isMachineItemSelected() || isGroupItemSelected())
    246247    {
    247248        /* Get current item: */
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