aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile')
-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 41e1c2b99..6fc5dd565 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -324,6 +324,7 @@ void ProfileWidget2::plotDives(QList<dive*> dives)
item->setVerticalAxis(profileYAxis);
item->setModel(dataModel);
item->setEvent(event);
+ item->setZValue(2);
scene()->addItem(item);
eventItems.push_back(item);
event = event->next;