summaryrefslogtreecommitdiff
path: root/src/main/python/shapes/shapes.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/python/shapes/shapes.py')
-rw-r--r--src/main/python/shapes/shapes.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/python/shapes/shapes.py b/src/main/python/shapes/shapes.py
index 94b9eb1..691a359 100644
--- a/src/main/python/shapes/shapes.py
+++ b/src/main/python/shapes/shapes.py
@@ -9,11 +9,10 @@ from PyQt5.QtWidgets import (QGraphicsColorizeEffect, QGraphicsEllipseItem,
QGraphicsProxyWidget, QGraphicsSceneHoverEvent,
QLineEdit)
-from utils.app import fileImporter
-
from .line import Line
from utils.app import fileImporter
+from utils.app import fileImporter
class GripItem(QGraphicsPathItem):
"""
@@ -213,7 +212,6 @@ class LineGripItem(GripItem):
# initialize a line and add on scene
startPoint = endPoint = self.parentItem().mapToScene(self.pos())
self.tempLine = Line(startPoint, endPoint)
- self.tempLine.setStartGripItem(self)
self.scene().addItemPlus(self.tempLine)
super().mousePressEvent(mouseEvent)