diff --git a/src/GUI/pathitem.cpp b/src/GUI/pathitem.cpp index 89de798f..31df4209 100644 --- a/src/GUI/pathitem.cpp +++ b/src/GUI/pathitem.cpp @@ -40,6 +40,7 @@ PathItem::PathItem(const Path &path, Map *map, QGraphicsItem *parent) _markerDistance = _path.first().first().distance(); _marker = new MarkerItem(this); + _marker->setZValue(1); _marker->setPos(position(_markerDistance)); setCursor(Qt::ArrowCursor);