aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-07-12 08:37:05 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-11 22:50:09 -0700
commit7ce9eb28ee04d877a08357b2bae2c063b0afea9a (patch)
treeb4c5044aa3cf290ae87cceec459264169f9a7a2e /qt-ui/profile/profilewidget2.cpp
parente1ae7ebab2d39cb726d4afcff71b5586a0d6fc65 (diff)
downloadsubsurface-7ce9eb28ee04d877a08357b2bae2c063b0afea9a.tar.gz
Mark divelist changed when adding bookmark
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 69c52b787..b0f221639 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -1027,6 +1027,7 @@ void ProfileWidget2::addBookmark()
QAction *action = qobject_cast<QAction *>(sender());
QPointF scenePos = mapToScene(mapFromGlobal(action->data().toPoint()));
add_event(current_dc, timeAxis->valueAt(scenePos), SAMPLE_EVENT_BOOKMARK, 0, 0, "bookmark");
+ mark_divelist_changed(true);
replot();
}