frontends (xmlui): fixed a bug in xmlui resulting in a bad dialog creation (parameters were lost, including profile)

This commit is contained in:
Goffi 2015-08-27 17:59:01 +02:00
commit 6f1d742645

View file

@ -688,7 +688,7 @@ class XMLUIDialog(XMLUIBase):
dialog_factory = None
def __init__(self, host, parsed_dom, title=None, flags=None, callback=None, profile=C.PROF_KEY_NONE):
super(XMLUIDialog, self).__init__(host, parsed_dom, title=None, flags=None, callback=callback, profile=C.PROF_KEY_NONE)
super(XMLUIDialog, self).__init__(host, parsed_dom, title=title, flags=flags, callback=callback, profile=profile)
top=parsed_dom.documentElement
dlg_elt = self._getChildNode(top, "dialog")
if dlg_elt is None: