mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Switch to the Dive Notes tab when manually adding a dive
This gives a more consistent and expected user experience. Fixes #236 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a93b6011f1
commit
179615f3a9
1 changed files with 1 additions and 0 deletions
|
@ -296,6 +296,7 @@ void MainWindow::on_actionAddDive_triggered()
|
|||
// this isn't in the UI yet, so let's call the C helper function - we'll fix this up when
|
||||
// accepting the dive
|
||||
select_dive(get_divenr(dive));
|
||||
ui.InfoWidget->setCurrentIndex(0);
|
||||
ui.InfoWidget->updateDiveInfo(selected_dive);
|
||||
ui.InfoWidget->addDiveStarted();
|
||||
ui.stackedWidget->setCurrentIndex(PLANNERPROFILE); // Planner.
|
||||
|
|
Loading…
Add table
Reference in a new issue