diff options
author | Priyam Nayak | 2021-06-22 08:41:25 +0530 |
---|---|---|
committer | GitHub | 2021-06-22 08:41:25 +0530 |
commit | ecf089991f8f3c15c3c99f376be3b954ec5b3545 (patch) | |
tree | 6de70decc9a0907b5fc8b58452c28e85a84d24db /mainApp.py | |
parent | 3f8095e27df1ea62c4356c08de09cc42ffca00ed (diff) | |
parent | 4f47bbc5cb8a325bdb31776d5c9f2963603695d4 (diff) | |
download | Chemical-Simulator-GUI-ecf089991f8f3c15c3c99f376be3b954ec5b3545.tar.gz Chemical-Simulator-GUI-ecf089991f8f3c15c3c99f376be3b954ec5b3545.tar.bz2 Chemical-Simulator-GUI-ecf089991f8f3c15c3c99f376be3b954ec5b3545.zip |
Merge pull request #24 from pravindalve/master
Fixed problem of compound updating during simulation
Diffstat (limited to 'mainApp.py')
-rw-r--r-- | mainApp.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -43,6 +43,7 @@ class MainApp(QMainWindow,ui): # Creating instances of classes for the main app self.container = Container(self.textBrowser, self.graphicsView) self.comp = ComponentSelector(self) + self.comp.accepted.connect(self.update_compounds) # Setting up interactive canvas self.scene = self.container.graphics.get_scene() @@ -140,6 +141,13 @@ class MainApp(QMainWindow,ui): self.comp.show() ''' + Updates compounds after compound selected modified during simulation creation + ''' + def update_compounds(self): + self.container.update_compounds() + + + ''' Returns current time in a required particular format ''' def current_time(self): |