Set current record after copying records

Since ab82d479eca1 the current record is no longer set on load call

Closes #12820
This commit is contained in:
Sergi Almacellas Abellana
2024-03-11 12:18:19 +01:00
parent 2a8626afd5
commit 8dc319a4cb
@@ -823,7 +823,10 @@ class Screen:
context=self.context)
except RPCException:
return False
self.load(new_ids, position=self.new_position)
self.group.load(new_ids, position=self.new_position)
if new_ids:
self.current_record = self.group.get(new_ids[0])
self.display()
return True
def set_tree_state(self):