mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 11:29:31 +00:00
Copy on disabled TextFields now possible. This behavior will be used when edit mode is added.
Fixed include issue Added Tests for NSCoding compliance of KPKAttribute, KPKEntry and KPKBinary
This commit is contained in:
@@ -8,11 +8,13 @@
|
||||
|
||||
#import "MPGroupInspectorViewController.h"
|
||||
#import "MPDocument.h"
|
||||
#import "MPPasteBoardController.h"
|
||||
|
||||
#import "Kdb.h"
|
||||
#import "Kdb4Node.h"
|
||||
|
||||
#import "HNHScrollView.h"
|
||||
#import "HNHRoundedTextField.h"
|
||||
|
||||
@interface MPGroupInspectorViewController ()
|
||||
|
||||
@@ -51,6 +53,12 @@
|
||||
metrics:nil
|
||||
views:views]];
|
||||
[[self view] layoutSubtreeIfNeeded];
|
||||
|
||||
copyAction copyBlock = ^void(NSTextField *textField) {
|
||||
[[MPPasteBoardController defaultController] copyObjects:@[ textField.stringValue ]];
|
||||
};
|
||||
|
||||
self.titleTextField.copyActionBlock = copyBlock;
|
||||
}
|
||||
|
||||
- (void)setupBindings:(MPDocument *)document {
|
||||
|
||||
Reference in New Issue
Block a user