mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 21:42:32 +00:00
fixed 478. Active editors now commit their changes before a new item is selected
This commit is contained in:
@@ -235,6 +235,11 @@ typedef NS_ENUM(NSUInteger, MPContentTab) {
|
||||
}
|
||||
self.didPushHistory = NO;
|
||||
|
||||
/* manually commit editing on any active editors */
|
||||
[self commitEditing];
|
||||
[self.entryViewController commitEditing];
|
||||
[self.groupViewController commitEditing];
|
||||
|
||||
self.representedObject = node;
|
||||
self.entryViewController.representedObject = node.asEntry;
|
||||
self.groupViewController.representedObject = node.asGroup;
|
||||
|
||||
Reference in New Issue
Block a user