diff options
author | pravindalve | 2020-08-11 19:08:57 +0530 |
---|---|---|
committer | GitHub | 2020-08-11 19:08:57 +0530 |
commit | b31cf75d9362412e755fce76f61d73eab1e7da14 (patch) | |
tree | 0ab99a88893f8b0a7c18138c0eec0c806654cf1a /mainApp.py | |
parent | d3bed1ef7150f8e493ebaed3b841b1fe781e974d (diff) | |
parent | 4cffaf3d0d29ee1f2d31601dd1571c7de40a8c5f (diff) | |
download | Chemical-Simulator-GUI-b31cf75d9362412e755fce76f61d73eab1e7da14.tar.gz Chemical-Simulator-GUI-b31cf75d9362412e755fce76f61d73eab1e7da14.tar.bz2 Chemical-Simulator-GUI-b31cf75d9362412e755fce76f61d73eab1e7da14.zip |
Merge pull request #4 from pravindalve/master
Updates and Bug Fixes
Diffstat (limited to 'mainApp.py')
-rw-r--r-- | mainApp.py | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -41,16 +41,13 @@ class MainApp(QMainWindow,ui): # Loading and setting up style sheet self.setupUi(self) - # style = open('cyan.css','r') - # style = style.read() - # self.setStyleSheet(style) # Initializing attributes self.zoom_count = 0 self.thrd = None # Creating instances of classes for the main app - self.container = Container.Container(self.textBrowser, self.graphicsView) + self.container = Container(self.textBrowser, self.graphicsView) self.comp = ComponentSelector(self) # Setting up interactive canvas @@ -227,7 +224,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() @@ -262,8 +259,6 @@ class MainApp(QMainWindow,ui): self.graphicsView.setMouseTracking(True) self.graphicsView.keyPressEvent=self.delete_call - - ''' Function for undo ''' |