summaryrefslogtreecommitdiff
path: root/DockWidgets/DockWidget.py
diff options
context:
space:
mode:
authorlucaszhao192020-07-30 21:19:00 +0630
committerlucaszhao192020-07-30 21:19:00 +0630
commit788b7f4bbb7aa51839c0836b1ab163fa831ce8fc (patch)
tree257d895d6d00cc129375903aed71e6f5fd7628f4 /DockWidgets/DockWidget.py
parentdf3ccdd24766f725e11bf41495855b9cd974008f (diff)
downloadChemical-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/DockWidget.py')
-rw-r--r--DockWidgets/DockWidget.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/DockWidgets/DockWidget.py b/DockWidgets/DockWidget.py
index a32d125..2087910 100644
--- a/DockWidgets/DockWidget.py
+++ b/DockWidgets/DockWidget.py
@@ -193,6 +193,9 @@ class DockWidget(QDockWidget,ui_dialog):
except AttributeError:
pass
+ def clear_results(self):
+ self.tableWidget.setRowCount(0)
+
# result data tab
def results_category(self,name):
flag = True