aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index b9a539fef..18d07ef34 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -217,7 +217,7 @@ void MainTab::clearStats()
void MainTab::updateDiveInfo(int dive)
{
- if(!isEnabled())
+ if(!isEnabled() && dive != -1)
setEnabled(true);
editMode = NONE;