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:
Marcian Lytwyn 2012-09-09 00:52:57 +00:00
parent 317dfe3470
commit 121b601eb0
2 changed files with 2 additions and 2 deletions

View file

@ -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];
}

View file

@ -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,