Commit 6342bd65 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx: when saving updates, only allow for a dir to be selected.

The core currently cannot handle a target name
parent a1d67615
...@@ -142,6 +142,8 @@ static VLCUpdate *_o_sharedInstance = nil; ...@@ -142,6 +142,8 @@ static VLCUpdate *_o_sharedInstance = nil;
[saveFilePanel setCanChooseFiles: NO]; [saveFilePanel setCanChooseFiles: NO];
[saveFilePanel setCanChooseDirectories: YES]; [saveFilePanel setCanChooseDirectories: YES];
[saveFilePanel setCanCreateDirectories: YES]; [saveFilePanel setCanCreateDirectories: YES];
[saveFilePanel setPrompt: _NS("Save" )];
[saveFilePanel setNameFieldLabel: _NS("Save As:" )];
update_release_t *p_release = update_GetRelease( p_u ); update_release_t *p_release = update_GetRelease( p_u );
assert( p_release ); assert( p_release );
[saveFilePanel beginSheetForDirectory:@"~/Downloads" file: [saveFilePanel beginSheetForDirectory:@"~/Downloads" file:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment