Add missing compare method to Wizard

When wizard is run as tab, it must also have a compare method.

issue7741
review52511002
This commit is contained in:
Cédric Krier committed 2018-09-27 22:21:30 +02:00
1 parent bdc029f5b4
commit a4e7a34920
1 file changed
+2 -1
+2 -1
View File
@@ -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=''):