disabled node text editable when disabled.
@@ -236,7 +236,7 @@ class NodeItem(AbstractNodeItem):
event (QtWidgets.QGraphicsSceneMouseEvent): mouse event.
"""
if event.button() == QtCore.Qt.LeftButton:
-
+ if not self.disabled:
# enable text item edit mode.
items = self.scene().items(event.scenePos())
if self._text_item in items:
