From 01131bf76cbe184f2ddc10a5e6ce668a2f5de6d2 Mon Sep 17 00:00:00 2001 From: brenda-br Date: Wed, 22 Feb 2023 19:33:41 +0530 Subject: Remove Selection border for Size Grip --- src/main/python/shapes/shapes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/python/shapes/shapes.py b/src/main/python/shapes/shapes.py index aa6bd06..acedf46 100644 --- a/src/main/python/shapes/shapes.py +++ b/src/main/python/shapes/shapes.py @@ -109,7 +109,7 @@ class SizeGripItem(QGraphicsPathItem): def __init__(self, index, direction=Qt.Horizontal, parent=None): super(SizeGripItem, self).__init__(parent=parent) # set graphical setting - self.setFlag(QGraphicsItem.ItemIsSelectable, True) + #self.setFlag(QGraphicsItem.ItemIsSelectable, True) self.setFlag(QGraphicsItem.ItemIsMovable, True) self.setFlag(QGraphicsItem.ItemSendsGeometryChanges, True) self.setAcceptHoverEvents(True) -- cgit