diff options
Diffstat (limited to 'src/main/python/shapes/line.py')
-rw-r--r-- | src/main/python/shapes/line.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/python/shapes/line.py b/src/main/python/shapes/line.py index 1438fbc..c893fe6 100644 --- a/src/main/python/shapes/line.py +++ b/src/main/python/shapes/line.py @@ -284,10 +284,8 @@ class LineLabel(QGraphicsTextItem): def focusOutEvent(self, event): super(LineLabel, self).focusOutEvent(event) - self.setTextInteractionFlags(Qt.NoTextInteraction) - self.nameChanged.emit() - self.setTextInteractionFlags(Qt.NoTextInteraction) # set text non interactive + self.nameChanged.emit() def __getstate__(self): return { |