From 1546706ff220bec528105e001c20ab35cb0d85ab Mon Sep 17 00:00:00 2001 From: LoudSnorer Date: Mon, 22 May 2023 19:20:15 -0400 Subject: [PATCH] Set Records as the default tab to right sidebar (toolbox) --- oscar/mainwindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/oscar/mainwindow.cpp b/oscar/mainwindow.cpp index be5e18bd..22381638 100644 --- a/oscar/mainwindow.cpp +++ b/oscar/mainwindow.cpp @@ -238,7 +238,11 @@ void MainWindow::SetupGUI() 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->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(); ui->action_Sidebar_Toggle->setChecked(b); ui->toolBox->setVisible(b);