summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 03d75bd98..ae4cf534c 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -357,7 +357,7 @@ bool MainTab::isEditing()
void MainTab::updateDiveInfo(int dive)
{
// don't execute this while adding a dive
- if (editMode == ADD)
+ if (editMode == ADD || editMode == MANUALLY_ADDED_DIVE)
return;
if (!isEnabled() && dive != -1)
setEnabled(true);