mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 05:52:58 +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;
|
self.didPushHistory = NO;
|
||||||
|
|
||||||
|
/* manually commit editing on any active editors */
|
||||||
|
[self commitEditing];
|
||||||
|
[self.entryViewController commitEditing];
|
||||||
|
[self.groupViewController commitEditing];
|
||||||
|
|
||||||
self.representedObject = node;
|
self.representedObject = node;
|
||||||
self.entryViewController.representedObject = node.asEntry;
|
self.entryViewController.representedObject = node.asEntry;
|
||||||
self.groupViewController.representedObject = node.asGroup;
|
self.groupViewController.representedObject = node.asGroup;
|
||||||
|
|||||||
Reference in New Issue
Block a user