core (xmlui): fixed data_form => XMLUI conversion when filters is None
This commit is contained in:
parent
6e8375cda5
commit
fc08583152
1 changed files with 2 additions and 0 deletions
|
|
@ -118,6 +118,8 @@ def dataForm2Widgets(form_ui, form, read_only=False, prepend=None, filters=None)
|
|||
This is especially useful to modify well known fields
|
||||
@return: the completed XMLUI instance
|
||||
"""
|
||||
if filters is None:
|
||||
filters = {}
|
||||
if form.instructions:
|
||||
form_ui.addText('\n'.join(form.instructions), 'instructions')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue