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):