mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-21 14:19:34 +00:00
More drafting on history browsing
This commit is contained in:
@@ -14,6 +14,7 @@ NSString *const MPDocumentDidExitHistoryNotification = @"MPDocumentDidExitHisto
|
||||
@implementation MPDocument (HistoryBrowsing)
|
||||
|
||||
- (void)showHistory:(id)sender {
|
||||
NSAssert(self.selectedEntry && self.selectedItem == (id)self.selectedEntry, @"Entry needs to be selected for history browsing!");
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentDidEnterHistoryNotification object:self];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user