mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 18:42:24 +00:00
Updated comments
This commit is contained in:
@@ -143,17 +143,19 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)saveDocumentAs:(id)sender {
|
- (void)saveDocumentAs:(id)sender {
|
||||||
/* take a look at NSEditor Protocoll commitEding, as NSDocument supports that */
|
/* FIXME: Use controllers for bindings to enable NSEditorRegistration. NSDocument supports this! */
|
||||||
[[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self];
|
[[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self];
|
||||||
[super saveDocumentAs:sender];
|
[super saveDocumentAs:sender];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)saveDocument:(id)sender {
|
- (void)saveDocument:(id)sender {
|
||||||
|
/* FIXME: Use controllers for bindings to enable NSEditorRegistration. NSDocument supports this! */
|
||||||
[[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self];
|
[[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self];
|
||||||
[super saveDocument:sender];
|
[super saveDocument:sender];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)saveDocumentTo:(id)sender {
|
- (void)saveDocumentTo:(id)sender {
|
||||||
|
/* FIXME: Use controllers for bindings to enable NSEditorRegistration. NSDocument supports this! */
|
||||||
[[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self];
|
[[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self];
|
||||||
[super saveDocumentTo:sender];
|
[super saveDocumentTo:sender];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user