Mark divelist changed when adding bookmark

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-07-12 08:37:05 +03:00 committed by Dirk Hohndel
parent e1ae7ebab2
commit 7ce9eb28ee

View file

@ -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();
}