mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 08:30:51 +00:00
Set dir only if nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11297 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
319ecb578a
commit
559f8bccce
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-11-02 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSSavePanel.m (-_resetDefaults): Set directory only
|
||||
if nil (otherwise keep the current directory).
|
||||
|
||||
2001-11-02 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/gnustep/gui/NSSlider.h
|
||||
|
|
|
@ -280,7 +280,8 @@ static BOOL _gs_display_reading_progress = NO;
|
|||
|
||||
- (void) _resetDefaults
|
||||
{
|
||||
ASSIGN (_directory, [_fm currentDirectoryPath]);
|
||||
if (_directory == nil)
|
||||
ASSIGN (_directory, [_fm currentDirectoryPath]);
|
||||
[self setPrompt: @"Name:"];
|
||||
[self setTitle: @"Save"];
|
||||
[self setRequiredFileType: @""];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue