Started support for file attachments

This commit is contained in:
michael starke
2013-06-16 00:57:44 +02:00
parent 091bb384fe
commit cbbf55e0c5
7 changed files with 978 additions and 87 deletions

View File

@@ -80,6 +80,7 @@
MPDocument *document = [[[outlineView window] windowController] document];
KdbGroup *rootGroup = [document root];
KdbEntry *draggedEntry = [rootGroup entryForUUID:uuid];
[uuid release];
if(draggedEntry) {
if(draggedEntry.parent != target && index == NSOutlineViewDropOnItemIndex) {
[document moveEntry:draggedEntry toGroup:target index:index];