diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-07-12 08:37:05 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-11 22:50:09 -0700 |
commit | 7ce9eb28ee04d877a08357b2bae2c063b0afea9a (patch) | |
tree | b4c5044aa3cf290ae87cceec459264169f9a7a2e /qt-ui/profile/profilewidget2.cpp | |
parent | e1ae7ebab2d39cb726d4afcff71b5586a0d6fc65 (diff) | |
download | subsurface-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.cpp | 1 |
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(); } |