mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 22:42:18 +00:00
Changed drag and drop architecture to use pasteboard and encoded entries/groups
First steps to enhance drag and drop to for cross document dragging and inter-document copying
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
if(![item isKindOfClass:[KPKEntry class]]) {
|
||||
return NO;
|
||||
}
|
||||
KPKEntry *entry = (KPKEntry *)item;
|
||||
[pboard writeObjects:@[entry.uuid]];
|
||||
KPKEntry *draggedEntry = (KPKEntry *)item;
|
||||
[pboard writeObjects:@[draggedEntry]];
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user