summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrenda-br2023-02-17 16:46:45 +0530
committerbrenda-br2023-02-17 16:46:45 +0530
commit00b5c186d1ba4fba9af41b890e1c47ce45588b5f (patch)
tree3b301c7d761153d6d005a3f75d53094728558be3
parent5cde027f02158fc183f14ca7d5f75390e2a71154 (diff)
downloadChemical-Simulator-GUI-00b5c186d1ba4fba9af41b890e1c47ce45588b5f.tar.gz
Chemical-Simulator-GUI-00b5c186d1ba4fba9af41b890e1c47ce45588b5f.tar.bz2
Chemical-Simulator-GUI-00b5c186d1ba4fba9af41b890e1c47ce45588b5f.zip
Fix #60 fixed an error
-rw-r--r--DockWidgets/DockWidgetMaterialStream.py5
-rw-r--r--DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pycbin9264 -> 9308 bytes
2 files changed, 4 insertions, 1 deletions
diff --git a/DockWidgets/DockWidgetMaterialStream.py b/DockWidgets/DockWidgetMaterialStream.py
index 851cae3..d476338 100644
--- a/DockWidgets/DockWidgetMaterialStream.py
+++ b/DockWidgets/DockWidgetMaterialStream.py
@@ -95,7 +95,10 @@ class DockWidgetMaterialStream(QDockWidget,ui_dialog):
l.setText(str(self.input_dict[i]))
lay = QGridLayout()
- lay.addWidget(QLabel(self.obj.variables[i]['name']+":"),0,0, alignment=Qt.AlignLeft)
+ if i !='MolFlow':
+ lay.addWidget(QLabel(self.obj.variables[i]['name']+":"),0,0, alignment=Qt.AlignLeft)
+ else:
+ lay.addWidget(QLabel(i+":"),0,0, alignment=Qt.AlignLeft)
lay.addWidget(l,0,1, alignment=Qt.AlignCenter)
if(i != 'MolFlow'):
lay.addWidget(QLabel(self.obj.variables[i]['unit']),0,2, alignment=Qt.AlignCenter)
diff --git a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
index fee03cc..41be544 100644
--- a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
+++ b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
Binary files differ