changeset 1501:cb1b0fe10415

frontends (xmlui): fixed a bug in xmlui resulting in a bad dialog creation (parameters were lost, including profile)
author Goffi <goffi@goffi.org>
date Thu, 27 Aug 2015 17:59:01 +0200
parents c7c872a40e56
children 566908d483f6
files frontends/src/tools/xmlui.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/tools/xmlui.py	Wed Aug 26 12:24:38 2015 +0200
+++ b/frontends/src/tools/xmlui.py	Thu Aug 27 17:59:01 2015 +0200
@@ -688,7 +688,7 @@
     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: