From 0a1a1ac6be7b0e40780e74b804b87c9b5ea3ac9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 28 Oct 2019 15:20:38 +0100 Subject: [PATCH] Fixed path marker Z-value issue --- src/GUI/pathitem.cpp | 1 + 1 file changed, 1 insertion(+) 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);