X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/30e36fe2e442924342ce39d3217002ff0d222f35..346a9b8e1fcfe30629f0d1ee4675e9e8f89890cf:/src/app/widgets/home.py diff --git a/src/app/widgets/home.py b/src/app/widgets/home.py index 381ec68..afd84ec 100755 --- a/src/app/widgets/home.py +++ b/src/app/widgets/home.py @@ -56,7 +56,7 @@ class Home(Table) : # choix du niveau self.tr() self.td(self.createLabel("Niveau :")) - self.modeSelect = Select('EASY') + self.modeSelect = Select('NORMAL') for k, caption in PLAYING_MODES : self.modeSelect.add(self.createLabel(caption), k) self.td(self.modeSelect,colspan=3) @@ -99,11 +99,11 @@ class Home(Table) : self.playButton.connect(CLICK, self._exitHome) def _exitApp(self, data=None) : - self.returnValue = False + self.exitApp = True self.send(QUIT) def _exitHome(self, data=None) : - self.returnValue = True + self.exitApp = False self.send(QUIT) def createLabel(self,text,font = None):