summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 1028a0f7c..d11d3c762 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1054,9 +1054,6 @@ void MainWindow::on_actionAddDive_triggered()
// now show the mostly empty main tab
information()->updateDiveInfo();
- // show main tab
- information()->setCurrentIndex(0);
-
information()->addDiveStarted();
graphics()->setAddState();