summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrenda-br2023-02-22 19:33:41 +0530
committerbrenda-br2023-02-22 19:33:41 +0530
commit01131bf76cbe184f2ddc10a5e6ce668a2f5de6d2 (patch)
treeb6ab411e01591c3c6c029775e8c13b547e7925b9
parent02644569419711f7a69154055817d8507761b517 (diff)
downloadChemical-PFD-01131bf76cbe184f2ddc10a5e6ce668a2f5de6d2.tar.gz
Chemical-PFD-01131bf76cbe184f2ddc10a5e6ce668a2f5de6d2.tar.bz2
Chemical-PFD-01131bf76cbe184f2ddc10a5e6ce668a2f5de6d2.zip
Remove Selection border for Size Grip
-rw-r--r--src/main/python/shapes/shapes.py2
1 files changed, 1 insertions, 1 deletions
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)