summaryrefslogtreecommitdiff
path: root/Graphics.py
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics.py')
-rw-r--r--Graphics.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Graphics.py b/Graphics.py
index 71d5b71..a8ee43a 100644
--- a/Graphics.py
+++ b/Graphics.py
@@ -429,12 +429,12 @@ class NodeItem(QtWidgets.QGraphicsItem):
self.nin = int(text)
self.obj.no_of_inputs = self.nin
self.obj.variables['NI']['value'] = self.nin
- elif self.obj.type == 'Splitter' and not self.obj.saved:
- text, ok = QInputDialog.getText(self.container.graphicsView, 'Splitter', 'Enter number of output:')
- if ok and text:
- self.nop = int(text)
- self.obj.no_of_outputs = self.nop
- self.obj.variables['No']['value'] = self.nop
+ # elif self.obj.type == 'Splitter' and not self.obj.saved:
+ # text, ok = QInputDialog.getText(self.container.graphicsView, 'Splitter', 'Enter number of output:')
+ # if ok and text:
+ # self.nop = int(text)
+ # self.obj.no_of_outputs = self.nop
+ # self.obj.variables['No']['value'] = self.nop
elif self.obj.type == 'DistillationColumn'and not self.obj.saved:
text, ok = QInputDialog.getText(self.container.graphicsView, 'DistillationColumn', 'Enter number of input:')
if ok and text: