mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Set Records as the default tab to right sidebar (toolbox)
This commit is contained in:
parent
97fb26e12b
commit
1546706ff2
@ -238,7 +238,11 @@ void MainWindow::SetupGUI()
|
|||||||
ui->tabWidget->setCurrentWidget(profileSelector); // setting this to daily shows the cube during loading..
|
ui->tabWidget->setCurrentWidget(profileSelector); // setting this to daily shows the cube during loading..
|
||||||
ui->tabWidget->setTabEnabled(1, false); // this should be the Statistics tab
|
ui->tabWidget->setTabEnabled(1, false); // this should be the Statistics tab
|
||||||
|
|
||||||
ui->toolBox->setCurrentIndex(0);
|
// toolbox is the right sidebar that contain the Navigation, bookmark , and Records tabs.
|
||||||
|
// Navigation has offset 0
|
||||||
|
// Bookmarks has offset 1
|
||||||
|
// Records has offset 2
|
||||||
|
ui->toolBox->setCurrentIndex(2);
|
||||||
bool b = AppSetting->rightSidebarVisible();
|
bool b = AppSetting->rightSidebarVisible();
|
||||||
ui->action_Sidebar_Toggle->setChecked(b);
|
ui->action_Sidebar_Toggle->setChecked(b);
|
||||||
ui->toolBox->setVisible(b);
|
ui->toolBox->setVisible(b);
|
||||||
|
Loading…
Reference in New Issue
Block a user