fixed 478. Active editors now commit their changes before a new item is selected

This commit is contained in:
michael starke
2016-10-17 18:44:24 +02:00
parent 9ac7c93fbf
commit 2e1e4ad5ac

View File

@@ -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;