aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2009-12-04 00:13:13 +0000
committermltownsend <mltownsend@gmail.com>2009-12-04 00:13:13 +0000
commit3a289007e40603f724d27f8ca0824075ad005e79 (patch)
tree8e4dd8c1f4ddf771f8254eb1f5b53f1c8e029f9f /Source/SPUserManager.m
parentd7a5b54bb9d7356a4e2a26f3bc529104b7faf76e (diff)
downloadsequelpro-3a289007e40603f724d27f8ca0824075ad005e79.tar.gz
sequelpro-3a289007e40603f724d27f8ca0824075ad005e79.tar.bz2
sequelpro-3a289007e40603f724d27f8ca0824075ad005e79.zip
Moved the SPUserMO source into the Core Data folder with the model. Added comments to SPUserManager
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)