mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix open/save panel runModal - should only default dir
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35541 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
317dfe3470
commit
121b601eb0
2 changed files with 2 additions and 2 deletions
|
@ -396,7 +396,7 @@ static NSOpenPanel *_gs_gui_open_panel = nil;
|
|||
- (NSInteger) runModalForTypes: (NSArray *)fileTypes
|
||||
{
|
||||
return [self runModalForDirectory: [self directory]
|
||||
file: [self filename]
|
||||
file: @""
|
||||
types: fileTypes];
|
||||
}
|
||||
|
||||
|
|
|
@ -1104,7 +1104,7 @@ selectCellWithString: (NSString*)title
|
|||
*/
|
||||
- (NSInteger) runModal
|
||||
{
|
||||
return [self runModalForDirectory: [self directory] file: [self filename]];
|
||||
return [self runModalForDirectory: [self directory] file: @""];
|
||||
}
|
||||
|
||||
/**<p> Initializes the panel to the directory specified by path and,
|
||||
|
|
Loading…
Reference in a new issue