Set current record after copying records
Since ab82d479eca1 the current record is no longer set on load call Closes #12820 (grafted from 5aa9aba0e3cc2cc0dabbd672558e2947eb90336a) --HG-- branch : 7.0
This commit is contained in:
1 parent
9e3b2031ec
commit
f12d0ac875
1 file changed
+4
-1
@@ -821,7 +821,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):
|
||||
|
||||
Reference in new issue
Block a user