diff options
author | lucaszhao19 | 2020-07-30 21:19:00 +0630 |
---|---|---|
committer | lucaszhao19 | 2020-07-30 21:19:00 +0630 |
commit | 788b7f4bbb7aa51839c0836b1ab163fa831ce8fc (patch) | |
tree | 257d895d6d00cc129375903aed71e6f5fd7628f4 /DockWidgets/DockWidgetMaterialStream.py | |
parent | df3ccdd24766f725e11bf41495855b9cd974008f (diff) | |
download | Chemical-Simulator-GUI-788b7f4bbb7aa51839c0836b1ab163fa831ce8fc.tar.gz Chemical-Simulator-GUI-788b7f4bbb7aa51839c0836b1ab163fa831ce8fc.tar.bz2 Chemical-Simulator-GUI-788b7f4bbb7aa51839c0836b1ab163fa831ce8fc.zip |
Fixed populating the wrong simulation results
Diffstat (limited to 'DockWidgets/DockWidgetMaterialStream.py')
-rw-r--r-- | DockWidgets/DockWidgetMaterialStream.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/DockWidgets/DockWidgetMaterialStream.py b/DockWidgets/DockWidgetMaterialStream.py index 130b290..f53e331 100644 --- a/DockWidgets/DockWidgetMaterialStream.py +++ b/DockWidgets/DockWidgetMaterialStream.py @@ -168,6 +168,15 @@ class DockWidgetMaterialStream(QDockWidget,ui_dialog): i.results_category(i.name) #i.show() + + def clear_results(self): + self.mTreeWidget.clear() + self.mTableWidget.setRowCount(0) + self.lTreeWidget.clear() + self.lTableWidget.setRowCount(0) + self.vTreeWidget.clear() + self.vTableWidget.setRowCount(0) + # result data tab def results_category(self,name): flag = True |