[TD]Fix LockPosition icon location

This commit is contained in:
wandererfan
2019-07-17 18:15:30 -04:00
committed by WandererFan
parent d745257cc3
commit 8b608d99aa
3 changed files with 9 additions and 14 deletions

View File

@@ -76,6 +76,8 @@ void QGCustomLabel::centerAt(double cX, double cY)
void QGCustomLabel::paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) {
QStyleOptionGraphicsItem myOption(*option);
myOption.state &= ~QStyle::State_Selected;
// painter->drawRect(boundingRect()); //good for debugging
QGraphicsTextItem::paint (painter, &myOption, widget);
}