Skip to content

Commit

Permalink
#1717 navigation: start with navigation tab
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Aug 30, 2024
1 parent ec74a2f commit ba15716
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ba15716

Please sign in to comment.