diff options
author | ritsuka <[email protected]> | 2014-08-09 18:56:29 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-08-09 18:56:29 +0000 |
commit | 040250a457d4c4dc0d4d5e27dfc8cafd6a385227 (patch) | |
tree | d595b6dca56fcce2b14db40ecd5cb9e17bd0b81f /macosx | |
parent | d180a1aea8a0141851adf00802bd846777d2b6f1 (diff) |
MacGui: don’t allow to drop a preset before the built in ones.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6280 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBPresetsViewController.m | 12 |
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 { |