Commit 3cba2efa 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
(cherry picked from commit 6342bd65)
parent 104f2c53
...@@ -134,6 +134,8 @@ static VLCUpdate *_o_sharedInstance = nil; ...@@ -134,6 +134,8 @@ static VLCUpdate *_o_sharedInstance = nil;
[saveFilePanel setRequiredFileType: @"dmg"]; [saveFilePanel setRequiredFileType: @"dmg"];
[saveFilePanel setCanSelectHiddenExtension: YES]; [saveFilePanel setCanSelectHiddenExtension: 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:nil file: [saveFilePanel beginSheetForDirectory:nil 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