Reviewers: ,
Please review this at http://codereview.tryton.org/184003/ Affected files: M tryton/gui/window/wizard.py Index: tryton/gui/window/wizard.py =================================================================== --- a/tryton/gui/window/wizard.py +++ b/tryton/gui/window/wizard.py @@ -272,7 +272,8 @@ def _get_button(self, state): button = super(WizardForm, self)._get_button(state) - button.connect('clicked', self.response, state[0]) + response = len(self.states) + button.connect('clicked', self.response, response) self.hbuttonbox.pack_start(button) return button -- [email protected] mailing list
