diff options
author | brenda-br | 2023-02-17 16:14:55 +0530 |
---|---|---|
committer | brenda-br | 2023-02-17 16:14:55 +0530 |
commit | 5cde027f02158fc183f14ca7d5f75390e2a71154 (patch) | |
tree | c9639bfe700fca213dd9ff3502d7b8294d16ea71 | |
parent | cedf278be5a2185140fecfcc35c09e38d738658e (diff) | |
download | Chemical-Simulator-GUI-5cde027f02158fc183f14ca7d5f75390e2a71154.tar.gz Chemical-Simulator-GUI-5cde027f02158fc183f14ca7d5f75390e2a71154.tar.bz2 Chemical-Simulator-GUI-5cde027f02158fc183f14ca7d5f75390e2a71154.zip |
Fix #60 Shows Name instead of variables in input dock widget
-rw-r--r-- | DockWidgets/DockWidgetMaterialStream.py | 2 | ||||
-rw-r--r-- | DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc | bin | 9254 -> 9264 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/DockWidgets/DockWidgetMaterialStream.py b/DockWidgets/DockWidgetMaterialStream.py index a6396ef..851cae3 100644 --- a/DockWidgets/DockWidgetMaterialStream.py +++ b/DockWidgets/DockWidgetMaterialStream.py @@ -95,7 +95,7 @@ class DockWidgetMaterialStream(QDockWidget,ui_dialog): l.setText(str(self.input_dict[i])) lay = QGridLayout() - lay.addWidget(QLabel(i+":"),0,0, alignment=Qt.AlignLeft) + lay.addWidget(QLabel(self.obj.variables[i]['name']+":"),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 Binary files differindex 193f8e9..fee03cc 100644 --- a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc +++ b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc |