mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 08:12:28 +00:00
using modern objective-c
This commit is contained in:
@@ -90,7 +90,7 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
|
|||||||
self.outlineView.floatsGroupRows = NO;
|
self.outlineView.floatsGroupRows = NO;
|
||||||
self.outlineView.doubleAction = @selector(_doubleClickedGroup:);
|
self.outlineView.doubleAction = @selector(_doubleClickedGroup:);
|
||||||
self.outlineView.allowsMultipleSelection = YES;
|
self.outlineView.allowsMultipleSelection = YES;
|
||||||
[self.outlineView setDelegate:self];
|
self.outlineView.delegate = self;
|
||||||
[self.outlineView registerForDraggedTypes:@[ KPKGroupUTI, KPKEntryUTI ]];
|
[self.outlineView registerForDraggedTypes:@[ KPKGroupUTI, KPKEntryUTI ]];
|
||||||
[self.outlineView setDraggingSourceOperationMask:NSDragOperationEvery forLocal:YES];
|
[self.outlineView setDraggingSourceOperationMask:NSDragOperationEvery forLocal:YES];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user