Refresh resources when reloading record of form view
As the record is only cancelled and not recreated, the cached resources are kept so they must be refreshed. Closes #14733
This commit is contained in:
@@ -951,6 +951,8 @@
|
||||
}
|
||||
return set_cursor;
|
||||
});
|
||||
} else {
|
||||
this.refresh_resources(true);
|
||||
}
|
||||
return set_cursor;
|
||||
})
|
||||
|
||||
@@ -538,6 +538,8 @@ class Form(TabContent):
|
||||
self.screen.current_record = record
|
||||
set_cursor = True
|
||||
break
|
||||
else:
|
||||
self.refresh_resources(True)
|
||||
self.screen.display(set_cursor=set_cursor)
|
||||
self.info_bar_clear()
|
||||
self.set_buttons_sensitive()
|
||||
|
||||
Reference in New Issue
Block a user