Refactoring for document based application

This commit is contained in:
michael starke
2013-05-09 14:02:30 +02:00
parent 35c92fbf0b
commit c7596d49fe
16 changed files with 100 additions and 223 deletions

View File

@@ -12,7 +12,7 @@
#import "MPDatabaseController.h"
#import "MPDatabaseDocument.h"
#import "MPIconHelper.h"
#import "MPMainWindowController.h"
#import "MPDocumentWindowController.h"
#import "MPPasteBoardController.h"
#import "MPOverlayWindowController.h"
#import "KdbGroup+MPAdditions.h"
@@ -325,7 +325,7 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
return; // nothign to to
}
[((MPMainWindowController *)[[self.view window] windowController]) clearOutlineSelection:nil];
[((MPDocumentWindowController *)[[self.view window] windowController]) clearOutlineSelection:nil];
self.isStatusBarVisible = YES;
self.tableToTop.constant = [self.filterBar frame].size.height;