Commit 1477078c authored by Philipp Hörist's avatar Philipp Hörist

Dataform: Fix hiding fallback fields

parent a45bc791
......@@ -146,7 +146,7 @@ class FormGrid(Gtk.Grid):
continue
if options.get('hide-fallback-fields'):
if 'fallback' in field.var:
if field.var is not None and 'fallback' in field.var:
continue
if field.media:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment