From 750c31dcd8e55074558bf6f884c575d87a9b745d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 4 Feb 2022 17:02:17 +0200 Subject: [PATCH] Tool line was not compatible with a background image. --- src/libs/vtools/tools/drawTools/vtoolline.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libs/vtools/tools/drawTools/vtoolline.cpp b/src/libs/vtools/tools/drawTools/vtoolline.cpp index dca167671..6c52b752b 100644 --- a/src/libs/vtools/tools/drawTools/vtoolline.cpp +++ b/src/libs/vtools/tools/drawTools/vtoolline.cpp @@ -72,7 +72,6 @@ VToolLine::VToolLine(const VToolLineInitData &initData, QGraphicsItem *parent) this->m_lineType = initData.typeLine; //Line RefreshGeometry(); - this->setFlag(QGraphicsItem::ItemStacksBehindParent, true); this->setFlag(QGraphicsItem::ItemIsFocusable, true);// For keyboard input focus this->setAcceptHoverEvents(m_acceptHoverEvents);