diff frontends/src/tools/xmlui.py @ 865:3ee2ec7ec010

core (xmlui), frontends: handling of "text" type in params xml + bug fixes
author Goffi <goffi@goffi.org>
date Tue, 25 Feb 2014 23:01:26 +0100
parents 241f6baa6687
children 75f3b3b430ff
line wrap: on
line diff
--- a/frontends/src/tools/xmlui.py	Tue Feb 25 10:59:05 2014 +0100
+++ b/frontends/src/tools/xmlui.py	Tue Feb 25 23:01:26 2014 +0100
@@ -315,7 +315,7 @@
                     print(_("FIXME FIXME FIXME: widget type [%s] is not implemented") % type_)
                     raise NotImplementedError(_("FIXME FIXME FIXME: type [%s] is not implemented") % type_)
 
-                if self.type == 'param':
+                if self.type == 'param' and type_ != 'text':
                     try:
                         ctrl._xmluiOnChange(self.onParamChange)
                         ctrl._param_category = self._current_category