summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/English.lproj/MainMenu.xib17
-rw-r--r--macosx/HBController.m5
-rw-r--r--macosx/HBPresetsViewController.h1
3 files changed, 17 insertions, 6 deletions
diff --git a/macosx/English.lproj/MainMenu.xib b/macosx/English.lproj/MainMenu.xib
index 6f468a964..be6b5f151 100644
--- a/macosx/English.lproj/MainMenu.xib
+++ b/macosx/English.lproj/MainMenu.xib
@@ -337,17 +337,14 @@
<action selector="insertCategory:" target="-1" id="JL7-bI-H97"/>
</connections>
</menuItem>
- <menuItem isSeparatorItem="YES" tag="-1" id="ymY-bE-5EP">
+ <menuItem isSeparatorItem="YES" tag="-1" id="1954">
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
- <menuItem title="Select Default Preset" tag="-1" id="2421">
+ <menuItem title="Make Default Preset" tag="-1" id="frQ-v5-pRa" userLabel="Make Default Preset">
<connections>
- <action selector="selectDefaultPreset:" target="-1" id="2eH-zk-T3n"/>
+ <action selector="setDefaultPreset:" target="-1" id="adZ-ic-MKn"/>
</connections>
</menuItem>
- <menuItem isSeparatorItem="YES" tag="-1" id="1954">
- <modifierMask key="keyEquivalentModifierMask" command="YES"/>
- </menuItem>
<menuItem title="Delete Preset" tag="-1" id="CN3-Rh-gVf">
<connections>
<action selector="deletePreset:" target="-1" id="ZGV-Ji-MGc"/>
@@ -373,6 +370,14 @@
<action selector="addFactoryPresets:" target="6lr-Yy-GMc" id="5Ga-rb-ORy"/>
</connections>
</menuItem>
+ <menuItem isSeparatorItem="YES" tag="-1" id="ymY-bE-5EP">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Select Default Preset" tag="-1" id="2421">
+ <connections>
+ <action selector="selectDefaultPreset:" target="-1" id="2eH-zk-T3n"/>
+ </connections>
+ </menuItem>
<menuItem isSeparatorItem="YES" tag="-1" id="wgI-bc-Ors">
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 94ab56306..98be9cda9 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1524,6 +1524,11 @@
fPresetsView.selectedPreset = presetManager.defaultPreset;
}
+- (IBAction)setDefaultPreset:(id)sender
+{
+ [fPresetsView setDefault:sender];
+}
+
- (IBAction)deletePreset:(id)sender
{
HBPreset *preset = [sender representedObject];
diff --git a/macosx/HBPresetsViewController.h b/macosx/HBPresetsViewController.h
index 8f5824a8e..3f2fd6bf3 100644
--- a/macosx/HBPresetsViewController.h
+++ b/macosx/HBPresetsViewController.h
@@ -24,6 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, readwrite, assign) id<HBPresetsViewControllerDelegate> delegate;
+- (IBAction)setDefault:(id)sender;
- (IBAction)deletePreset:(id)sender;
- (IBAction)exportPreset:(id)sender;