mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-20 07:09:24 +00:00
bubbling NSEditorRegistration calls from NSViewController up to NSDocument
This commit is contained in:
@@ -10,6 +10,15 @@
|
||||
#import "MPDocument.h"
|
||||
|
||||
@implementation MPCustomFieldTableCellView
|
||||
|
||||
- (void)objectDidBeginEditing:(id)editor {
|
||||
[self.window.windowController.document objectDidBeginEditing:editor];
|
||||
}
|
||||
|
||||
- (void)objectDidEndEditing:(id)editor {
|
||||
[self.window.windowController.document objectDidEndEditing:editor];
|
||||
}
|
||||
|
||||
- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle {
|
||||
super.backgroundStyle = NSBackgroundStyleLight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user