summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-01-27 12:34:02 +0100
committerDamiano Galassi <[email protected]>2020-01-27 12:34:02 +0100
commit198ff63d6e0fcf8473c4d03085311c954d9a5cec (patch)
tree6180942476e56ae88bd5b2e186a55c83745d6f4d /macosx/HBController.m
parent81f919fadfb0eec4f243f75dca7287c7e95b9f25 (diff)
MacGui: ask the user only for the destination folder when exporting multiple presets.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index cbbe99302..6703a492a 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1425,6 +1425,7 @@ static void *HBControllerLogLevelContext = &HBControllerLogLevelContext;
- (IBAction)exportPreset:(id)sender
{
+ fPresetsView.selectedPreset = self.selectedPreset;
[fPresetsView exportPreset:sender];
}
@@ -1470,7 +1471,7 @@ static void *HBControllerLogLevelContext = &HBControllerLogLevelContext;
- (IBAction)deletePreset:(id)sender
{
- fPresetsView.selectedPreset = presetManager.defaultPreset;
+ fPresetsView.selectedPreset = self.selectedPreset;
[fPresetsView deletePreset:self];
}