From 5c86fc4103e46957e01061348f04b337e82741d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 30 Jun 2019 23:39:31 +0200 Subject: [PATCH] Added missing kilometer markers color change --- src/GUI/pathitem.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GUI/pathitem.cpp b/src/GUI/pathitem.cpp index 9cab3d8c..f8a5188e 100644 --- a/src/GUI/pathitem.cpp +++ b/src/GUI/pathitem.cpp @@ -141,6 +141,10 @@ void PathItem::setColor(const QColor &color) return; _pen.setColor(color); + + for (int i = 0; i < _ticks.size(); i++) + _ticks[i]->setColor(color); + update(); }