X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/63f3b77711f17de3cd3515d1a97f566438c551a7..967c3023786aaf8753d5a7597c4a418d95807c5b:/src/app/widgets/home.py diff --git a/src/app/widgets/home.py b/src/app/widgets/home.py index e1e09f1..6d9d7d5 100755 --- a/src/app/widgets/home.py +++ b/src/app/widgets/home.py @@ -88,9 +88,15 @@ class Home(Table) : def _initLocalListeners(self) : self.browseButton.connect(CLICK, self.open_file_browser) - self.quitButton.connect(CLICK, self._exitHome) + self.quitButton.connect(CLICK, self._exitApp) + self.playButton.connect(CLICK, self._exitHome) + + def _exitApp(self, data=None) : + self.returnValue = False + self.send(QUIT) def _exitHome(self, data=None) : + self.returnValue = True self.send(QUIT) def createLabel(self,text,font = None):