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