Skip to content
Snippets Groups Projects
Commit fcef0c23 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Returns only Button instance instead of Gtk.Button

The Form.get_buttons must return only the instances created by <button/> and
not the Link which are also Gtk.Button.

issue9714
review318621002
(grafted from 90071de08bc7)
parent 259af7da
No related branches found
No related tags found
No related merge requests found
......@@ -493,7 +493,7 @@
for w in widgets)
def get_buttons(self):
return [b for b in self.state_widgets if isinstance(b, Gtk.Button)]
return [b for b in self.state_widgets if isinstance(b, Button)]
def reset(self):
record = self.record
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment