diff options
author | Bradley Sepos <[email protected]> | 2018-03-17 17:38:46 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-03-17 17:38:46 -0400 |
commit | 90d3e872972b597be2de8bbfedfd4436c37a6870 (patch) | |
tree | 5843dbb21399b809d662e4f0cf5ad89abdc271a2 | |
parent | 3fd13833711dc4bb4aac8987e63442870bda4c4b (diff) |
MacGUI: Improve rename return value conditional.
-rw-r--r-- | macosx/HBController.m | 2 |
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]; |