From a4e7a34920acffb5b4aec7acb4fe6d5659b1b663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 27 Sep 2018 22:21:30 +0200 Subject: [PATCH] Add missing compare method to Wizard When wizard is run as tab, it must also have a compare method. issue7741 review52511002 --- tryton/gui/window/wizard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tryton/gui/window/wizard.py b/tryton/gui/window/wizard.py index f12099a607..bde3e82adf 100644 --- a/tryton/gui/window/wizard.py +++ b/tryton/gui/window/wizard.py @@ -18,6 +18,7 @@ from tryton.common.button import Button from tryton.common import RPCExecute, RPCException, RPCContextReload from tryton.common import TRYTON_ICON from .infobar import InfoBar +from .tabcontent import TabContent _ = gettext.gettext logger = logging.getLogger(__name__) @@ -253,7 +254,7 @@ class Wizard(InfoBar): self.widget.pack_start(self.info_bar, False, True) -class WizardForm(Wizard, SignalEvent): +class WizardForm(Wizard, TabContent, SignalEvent): "Wizard" def __init__(self, name=''):