Index: gc_lang/fr/oxt/Conjugueur/Conjugueur.py ================================================================== --- gc_lang/fr/oxt/Conjugueur/Conjugueur.py +++ gc_lang/fr/oxt/Conjugueur/Conjugueur.py @@ -247,11 +247,11 @@ self.xContainer.endExecute() elif xActionEvent.ActionCommand == 'New': self._newVerb() elif xActionEvent.ActionCommand == 'Change': if self.oVerb: - self._displayResults(self.oVerb.createConjTable(self.opro.State, self.oneg.State, self.otco.State, self.oint.State, self.ofem.State)) + self._displayResults() else: print(str(xActionEvent)) except: traceback.print_exc() @@ -308,14 +308,15 @@ self.opro.Enabled = False else: # -1 or 1 or error self.opro.State = False self.opro.Enabled = False self.option_msg.Label = "" - self._displayResults(self.oVerb.createConjTable(self.opro.State, self.oneg.State, self.otco.State, self.oint.State, self.ofem.State)) + self._displayResults() - def _displayResults (self, dConjTable): + def _displayResults (self): try: + dConjTable = self.oVerb.createConjTable(self.opro.State, self.oneg.State, self.otco.State, self.oint.State, self.ofem.State) self.input.Text = "" # infinitif self.infi.Label = dConjTable["infi"] # participe présent self.ppre.Label = dConjTable["ppre"]