summaryrefslogtreecommitdiff
path: root/DockWidgets
diff options
context:
space:
mode:
authorlucaszhao192020-07-10 22:00:01 +0630
committerlucaszhao192020-07-10 22:00:01 +0630
commit4754490bd9f60c89f66f886e399abc9ea91e932a (patch)
treeef608a903aafb6454eeec02eb69b69aa5e98928c /DockWidgets
parent2cd248a0ae312672d63a55cf6ac72436e515b2e6 (diff)
downloadChemical-Simulator-GUI-4754490bd9f60c89f66f886e399abc9ea91e932a.tar.gz
Chemical-Simulator-GUI-4754490bd9f60c89f66f886e399abc9ea91e932a.tar.bz2
Chemical-Simulator-GUI-4754490bd9f60c89f66f886e399abc9ea91e932a.zip
Result issues fixed and optional input for DistillationColumn
Diffstat (limited to 'DockWidgets')
-rw-r--r--DockWidgets/DockWidget.py7
-rw-r--r--DockWidgets/__pycache__/DockWidget.cpython-37.pycbin6107 -> 6155 bytes
2 files changed, 4 insertions, 3 deletions
diff --git a/DockWidgets/DockWidget.py b/DockWidgets/DockWidget.py
index 6fc7731..2b1cdb9 100644
--- a/DockWidgets/DockWidget.py
+++ b/DockWidgets/DockWidget.py
@@ -187,10 +187,11 @@ class DockWidget(QDockWidget,ui_dialog):
@staticmethod
def show_result(lst):
- #DockWidget1.flag = True
for i in lst:
- i.results_category(i.name)
- #i.show()
+ try:
+ i.results_category(i.name)
+ except AttributeError:
+ pass
# result data tab
def results_category(self,name):
diff --git a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc
index f1fa8b5..b042722 100644
--- a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc
+++ b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc
Binary files differ