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

Dataform: Find first child correctly

parent 082d6822
......@@ -81,7 +81,8 @@ class DataFormWidget(Gtk.ScrolledWindow):
return self._form_node
def focus_first_entry(self):
for widget in self._form_grid.get_children():
for row in range(0, self._form_grid.row_count):
widget = self._form_grid.get_child_at(1, row)
if isinstance(widget, Gtk.Entry):
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