summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBPresetsViewController.m12
1 files changed, 10 insertions, 2 deletions
diff --git a/macosx/HBPresetsViewController.m b/macosx/HBPresetsViewController.m
index e49586212..6dd76793a 100644
--- a/macosx/HBPresetsViewController.m
+++ b/macosx/HBPresetsViewController.m
@@ -304,8 +304,16 @@
if (!item)
{
- // no item to drop on
- result = NSDragOperationGeneric;
+ if (index == 0)
+ {
+ // don't allow to drop on top
+ result = NSDragOperationNone;
+ }
+ else
+ {
+ // no item to drop on
+ result = NSDragOperationGeneric;
+ }
}
else
{