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:
1 parent
bdc029f5b4
commit
a4e7a34920
1 file changed
+2
-1
@@ -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=''):
|
||||
|
||||
Reference in new issue
Block a user