summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-11 05:57:43 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-11 05:57:43 +0900
commitf41651439cb6ee653cf25b495463644902507f46 (patch)
treed8a9cd87a563c3c5cbfc1c3157d174d4b792821a
parentea2e517e39e849c7b1e949f87ad263dc13c47714 (diff)
downloadsubsurface-f41651439cb6ee653cf25b495463644902507f46.tar.gz
Mark divelist changed when deleting a dive
Fixes #232 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/divelistview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index b2f33ffa1..0fdd6fc91 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -433,6 +433,7 @@ void DiveListView::deleteDive()
else
mainWindow()->cleanUpEmpty();
}
+ mark_divelist_changed(TRUE);
}
mainWindow()->refreshDisplay();
reload(currentLayout, false);