mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 09:59:43 +00:00
interims update
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#import "MPDatabaseDocument.h"
|
||||
#import "KdbLib.h"
|
||||
|
||||
NSString *const MPDidLoadDataBaseNotification = @"DidLoadDataBaseNotification";
|
||||
|
||||
@interface MPDatabaseDocument ()
|
||||
@property (retain) KdbTree *tree;
|
||||
@end
|
||||
@@ -42,6 +44,11 @@
|
||||
@catch (NSException *exception) {
|
||||
// ignore
|
||||
}
|
||||
if( _tree != nil) {
|
||||
// Post notification that a new document was loaded
|
||||
NSNotificationCenter *defaultCenter = [NSNotificationCenter defaultCenter];
|
||||
[defaultCenter postNotificationName:MPDidLoadDataBaseNotification object:self];
|
||||
}
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user