frontends (xmlui): added an attribute to ignore some widgets (and their label) in create

This commit is contained in:
Goffi 2017-11-05 13:53:28 +01:00
commit fc2af0da9e

View file

@ -390,8 +390,14 @@ class XMLUIPanel(xmlui_manager.XMLUIPanel):
workflow = None
_submit_cb = None
def __init__(self, host, parsed_dom, title=None, flags=None, callback=None, profile=None):
xmlui_manager.XMLUIPanel.__init__(self, host, parsed_dom, title, flags, profile=host.profile)
def __init__(self, host, parsed_dom, title=None, flags=None, callback=None, ignore=None, profile=None):
xmlui_manager.XMLUIPanel.__init__(self,
host,
parsed_dom,
title = title,
flags = flags,
ignore = ignore,
profile=host.profile)
self.submitted = False
@property