mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
e1ae7ebab2
commit
7ce9eb28ee
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue