mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-19 13:19:31 +00:00
Moving more stuff about context bar into the document away from the EntryViewController.
Some refactorings considering notification registration.
This commit is contained in:
@@ -110,7 +110,7 @@ typedef NS_ENUM(NSUInteger, MPContentTab) {
|
||||
- (void)regsiterNotificationsForDocument:(MPDocument *)document {
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(_didChangeCurrentItem:)
|
||||
name:MPCurrentItemChangedNotification
|
||||
name:MPDocumentCurrentItemChangedNotification
|
||||
object:document];
|
||||
[_entryViewController setupBindings:document];
|
||||
[_groupViewController setupBindings:document];
|
||||
|
||||
Reference in New Issue
Block a user