Call set_state on buttons in set_value
This commit is contained in:
1 parent
ac05a2d356
commit
6e69f40158
1 file changed
+4
@@ -84,6 +84,10 @@ class ViewForm(ParserView):
|
||||
field = record.group.fields[name]
|
||||
for widget in widgets:
|
||||
widget.set_value(record, field)
|
||||
# The states of group must be restored as some widgets could call
|
||||
# display in set_value
|
||||
for button in self.buttons:
|
||||
button.state_set(record)
|
||||
|
||||
def sel_ids_get(self):
|
||||
if self.screen.current_record:
|
||||
|
||||
Reference in new issue
Block a user