summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-03-17 17:38:46 -0400
committerBradley Sepos <[email protected]>2018-03-17 17:38:46 -0400
commit90d3e872972b597be2de8bbfedfd4436c37a6870 (patch)
tree5843dbb21399b809d662e4f0cf5ad89abdc271a2 /macosx/HBController.m
parent3fd13833711dc4bb4aac8987e63442870bda4c4b (diff)
MacGUI: Improve rename return value conditional.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 9985d3c80..ee452bf97 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1529,7 +1529,7 @@
{
__unused HBRenamePresetController *renamePresetController = (HBRenamePresetController *)CFBridgingRelease(contextInfo);
- if (returnCode != NSModalResponseCancel)
+ if (returnCode == NSModalResponseContinue)
{
[self applyPreset:fPresetsView.selectedPreset];
[[NSNotificationCenter defaultCenter] postNotificationName:HBPresetsChangedNotification object:nil];