]> granicus.if.org Git - handbrake/commitdiff
MacGui: select the newly created category in the add preset sheet.
authorDamiano Galassi <damiog@gmail.com>
Fri, 10 Nov 2017 13:03:45 +0000 (14:03 +0100)
committerDamiano Galassi <damiog@gmail.com>
Fri, 10 Nov 2017 13:03:45 +0000 (14:03 +0100)
macosx/HBAddPresetController.m

index 580673a270ac2d817385131648e8bb7a626db34e..04d5303a2dc60d6a4d845764d097390f1dba1dfd 100644 (file)
@@ -155,7 +155,7 @@ typedef NS_ENUM(NSUInteger, HBAddPresetControllerMode) {
     }
 
     [self.categories selectItemWithTag:2];
-
+    [self selectCategoryFromMenu:self.categories.selectedItem];
 }
 
 - (IBAction)selectCategoryFromMenu:(NSMenuItem *)sender