2
0

Small format update.

This commit is contained in:
Maarten Billemont 2017-04-13 00:06:46 -04:00
parent 05391d893e
commit a7912dd1b7

View File

@ -17,7 +17,6 @@
//============================================================================== //==============================================================================
#import <QuartzCore/QuartzCore.h> #import <QuartzCore/QuartzCore.h>
#import <CoreData/CoreData.h>
#import "MPPasswordWindowController.h" #import "MPPasswordWindowController.h"
#import "MPMacAppDelegate.h" #import "MPMacAppDelegate.h"
#import "MPAppDelegate_Store.h" #import "MPAppDelegate_Store.h"
@ -68,8 +67,7 @@
queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *note) { queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *note) {
[self updateUser]; [self updateUser];
}]; }];
[self observeKeyPath:@"sitesController.selection" [self observeKeyPath:@"sitesController.selection" withBlock:^(id from, id to, NSKeyValueChange cause, id _self) {
withBlock:^(id from, id to, NSKeyValueChange cause, id _self) {
prof_new( @"sitesController.selection" ); prof_new( @"sitesController.selection" );
[_self updateSelection]; [_self updateSelection];
prof_finish( @"updateSelection" ); prof_finish( @"updateSelection" );