summaryrefslogtreecommitdiff
path: root/mainApp.py
diff options
context:
space:
mode:
authorpravindalve2020-06-24 13:59:35 +0530
committerpravindalve2020-06-24 13:59:35 +0530
commit7b8e2551b97b4d18a3769ee3a9bc6409f27427d8 (patch)
tree89691d543ea5b9ccf8d6ae56df7bb045648b6afd /mainApp.py
parentd3bed1ef7150f8e493ebaed3b841b1fe781e974d (diff)
downloadChemical-Simulator-GUI-7b8e2551b97b4d18a3769ee3a9bc6409f27427d8.tar.gz
Chemical-Simulator-GUI-7b8e2551b97b4d18a3769ee3a9bc6409f27427d8.tar.bz2
Chemical-Simulator-GUI-7b8e2551b97b4d18a3769ee3a9bc6409f27427d8.zip
issue with updating database while creating new file fixed
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()