From 596216d5fb7fc54fb9f25d02bcc41c1a252edae1 Mon Sep 17 00:00:00 2001 From: garak Date: Wed, 16 Jan 2019 00:06:25 -0500 Subject: [PATCH] remove first map tile outline on project open --- include/ui/cursortilerect.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ui/cursortilerect.h b/include/ui/cursortilerect.h index c2bd24c9..21bac12a 100644 --- a/include/ui/cursortilerect.h +++ b/include/ui/cursortilerect.h @@ -30,6 +30,7 @@ public: void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override { + if (!(*enabled)) return; int width = this->width; int height = this->height; if (this->singleTileMode) {