mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 03:32:40 +00:00
Added comment
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
|
||||
[openPanel beginSheetModalForWindow:[[self view] window] completionHandler:^(NSInteger result) {
|
||||
if(result == NSFileHandlingPanelOKButton) {
|
||||
// TODO: Autorelease pool?
|
||||
NSMenuItem *customBrowser = [[NSMenuItem alloc] init];
|
||||
[customBrowser setRepresentedObject:[[NSBundle bundleWithPath:[[openPanel URL] path]] bundleIdentifier]];
|
||||
[self _selectBrowser:customBrowser];
|
||||
|
||||
Reference in New Issue
Block a user