diff options
author | Damiano Galassi <[email protected]> | 2017-11-12 07:50:55 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-11-12 07:50:55 +0100 |
commit | 31ac8ffcb8758fea8cb98835f402c004af1efc5d (patch) | |
tree | 9d01043413dd3749fea16399f2d442efd794808f /macosx | |
parent | 501055d74f3ee8278d8e03b96e24007876b4652d (diff) |
MacGui: initialize the selectedCategory ivar with the default value in HBAddPresetController.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBAddPresetController.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m index 04d5303a2..4ff228d01 100644 --- a/macosx/HBAddPresetController.m +++ b/macosx/HBAddPresetController.m @@ -81,6 +81,7 @@ typedef NS_ENUM(NSUInteger, HBAddPresetControllerMode) { [self.categories.menu insertItem:item atIndex:2]; [self.categories selectItemWithTag:2]; } + self.selectedCategory = self.categories.selectedItem.representedObject; // Populate the preset picture settings popup. // Use [NSMenuItem tag] to store preset values for each option. |