Commit d94c45e2 authored by Philipp Hörist's avatar Philipp Hörist

Dataform: Make dataform node public

parent 4000b52c
......@@ -62,6 +62,9 @@ class DataFormWidget(Gtk.ScrolledWindow):
def validate(self):
return self._form_grid.validate(True)
def get_form(self):
return self._form_node
def get_submit_form(self):
self._form_node.type_ = 'submit'
return self._form_node
......
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