From ba15716894cb00fd68079d80373bd66e9f118afd Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Fri, 30 Aug 2024 19:39:16 +0200 Subject: [PATCH] #1717 navigation: start with navigation tab Signed-off-by: Patrizio Bekerle --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a9b00d8598..24a27e677b 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -871,6 +871,8 @@ void MainWindow::initDockWidgets() { addDockWidget(Qt::LeftDockWidgetArea, _noteNavigationDockWidget, Qt::Vertical); // we want the navigation under the note list splitDockWidget(_noteListDockWidget, _noteNavigationDockWidget, Qt::Vertical); + // We want to start with the Navigation tab + ui->navigationTabWidget->setCurrentIndex(0); if (!_noteEditIsCentralWidget) { _noteEditDockWidget = new QDockWidget(tr("Note edit"), this);