- Timestamp:
- Sep 13, 2018 3:49:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r74138 r74247 508 508 509 509 /* Create sliding-widget: */ 510 m_pSlidingAnimation = new UISlidingAnimation(Qt::Vertical, true); 510 // Reverse initial animation direction if group or machine selected! 511 const bool fReverse = !m_pPaneChooser->isGlobalItemSelected(); 512 m_pSlidingAnimation = new UISlidingAnimation(Qt::Vertical, fReverse); 511 513 if (m_pSlidingAnimation) 512 514 { … … 520 522 } 521 523 522 /* Make Machine Tools pane active initially: */ 523 m_pStackedWidget->setCurrentWidget(m_pPaneToolsMachine); 524 /* Choose which pane should be active initially: */ 525 if (m_pPaneChooser->isGlobalItemSelected()) 526 m_pStackedWidget->setCurrentWidget(m_pPaneToolsGlobal); 527 else 528 m_pStackedWidget->setCurrentWidget(m_pPaneToolsMachine); 524 529 525 530 /* Add into layout: */
Note:
See TracChangeset
for help on using the changeset viewer.