summaryrefslogtreecommitdiff
path: root/mainApp.py
diff options
context:
space:
mode:
Diffstat (limited to 'mainApp.py')
-rw-r--r--mainApp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainApp.py b/mainApp.py
index e49d4e2..462887f 100644
--- a/mainApp.py
+++ b/mainApp.py
@@ -227,7 +227,7 @@ class MainApp(QMainWindow,ui):
'''
def new(self):
self.undo_redo_helper()
- self.comp.tableWidget.setRowCount(0)
+ self.comp = ComponentSelector(self)
self.textBrowser.append("<span>[" + str(self.current_time()) + "] <b>New</b> flowsheet is created ... </span>")
dock_widget_lst.clear()