summaryrefslogtreecommitdiff
path: root/mainApp.py
diff options
context:
space:
mode:
Diffstat (limited to 'mainApp.py')
-rw-r--r--mainApp.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/mainApp.py b/mainApp.py
index 1d8262c..e6f782a 100644
--- a/mainApp.py
+++ b/mainApp.py
@@ -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):