aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r--Source/SPUserManager.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m
index dc18659d..37824f47 100644
--- a/Source/SPUserManager.m
+++ b/Source/SPUserManager.m
@@ -576,6 +576,8 @@
- (void)contextDidSave:(NSNotification *)notification
{
NSManagedObjectContext *notificationContext = (NSManagedObjectContext *)[notification object];
+ // If there are multiple user manager windows open, it's possible to get this
+ // notification from foreign windows. Ignore those notifications.
if (notificationContext != self.managedObjectContext) return;
if (!isInitializing)