summaryrefslogtreecommitdiff
path: root/Graphics.py
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics.py')
-rw-r--r--Graphics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics.py b/Graphics.py
index 9a8c575..0fa3306 100644
--- a/Graphics.py
+++ b/Graphics.py
@@ -466,7 +466,7 @@ class NodeItem(QtWidgets.QGraphicsItem):
if ok and text:
self.nin = int(text)
self.obj.no_of_inputs = self.nin
- self.obj.variables['NOI']['value'] = self.nin
+ self.obj.variables['NI']['value'] = self.nin
elif self.obj.type == 'Splitter':
text, ok = QInputDialog.getText(self.container.graphicsView, 'Splitter', 'Enter number of output:')
if ok and text: