summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-03-17 17:36:40 -0400
committerBradley Sepos <[email protected]>2018-03-17 17:36:40 -0400
commit3fd13833711dc4bb4aac8987e63442870bda4c4b (patch)
tree300769bc00c1bb22ca3b18e560a0033428b02cee /macosx/HBController.m
parentd1a3d95ee19797180a88e3013015c9f1696a6429 (diff)
MacGUI: Fix Rename dialog on 10.7.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m7
1 files changed, 1 insertions, 6 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 70ec14bad..9985d3c80 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1517,6 +1517,7 @@
- (IBAction)showRenamePresetPanel:(id)sender
{
[self.window HB_endEditing];
+ fPresetsView.selectedPreset = _currentPreset;
HBRenamePresetController *renamePresetController = [[HBRenamePresetController alloc] initWithPreset:self.currentPreset
presetManager:presetManager];
@@ -1563,12 +1564,6 @@
[fPresetsView setDefault:sender];
}
-- (IBAction)renamePreset:(id)sender
-{
- fPresetsView.selectedPreset = _currentPreset;
- [self showRenamePresetPanel:sender];
-}
-
- (IBAction)deletePreset:(id)sender
{
HBPreset *preset = [sender representedObject];