mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 03:49:22 +00:00
Using new KeePassKit API, simple multi selection support
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
}
|
||||
/* Currently not working, as the underlying operations do not get the unomanager */
|
||||
MPDocument *document = [[[sender draggingDestinationWindow] windowController] document];
|
||||
KPKGroup *parentGroup = document.selectedGroup ? document.selectedGroup : document.root;
|
||||
KPKGroup *parentGroup = document.selectedGroups.count == 1 ? document.selectedGroups.firstObject : document.root;
|
||||
[document.undoManager beginUndoGrouping];
|
||||
KPKEntry *entry = [document createEntry:parentGroup];
|
||||
BOOL didOk = (entry != nil);
|
||||
|
||||
Reference in New Issue
Block a user