Tool line was not compatible with a background image.

This commit is contained in:
Roman Telezhynskyi 2022-02-04 17:02:17 +02:00
parent 94e7c7d612
commit 750c31dcd8

View File

@ -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);