Skip to content

Commit

Permalink
Enable dragging packages to Unknown developer
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuutilainen committed Jan 21, 2020
1 parent 894f665 commit ebc37d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MunkiAdmin/UI Controllers/MAPackagesView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,9 @@ - (NSDragOperation)outlineView:(NSOutlineView *)outlineView validateDrop:(id <NS
if (([[item representedObject] isKindOfClass:[CategorySourceListItemMO class]])) {
return NSDragOperationMove;
}
else if (([[item representedObject] isKindOfClass:[DeveloperSourceListItemMO class]])) {
return NSDragOperationMove;
}
else if (![targetDir.itemType isEqualToString:@"regular"]) {
return NSDragOperationNone;
}
Expand Down

0 comments on commit ebc37d9

Please sign in to comment.