Changeset 73632 in vbox for trunk/src/VBox
- Timestamp:
- Aug 13, 2018 11:31:27 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r73631 r73632 226 226 227 227 /* 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) 229 230 { 230 231 m_pSlidingWidget->moveForward(); … … 234 235 else 235 236 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) 238 240 { 239 241 m_pSlidingWidget->moveBackward(); … … 241 243 } 242 244 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()) 246 247 { 247 248 /* Get current item: */
Note:
See TracChangeset
for help on using the changeset viewer.