2007-03-03 14:51-EST Gregory John Casamento <greg_casamento@yahoo.com>

* Source/NSDocument.m: Added change suggested by Wolfgang Lux.  This
        corrects a potential mismatch between the document type and the type
        specified in the panel.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24758 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2007-03-03 19:53:23 +00:00
parent 3a4a94238e
commit 9194d2c50f
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-03-03 14:51-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSDocument.m: Added change suggested by Wolfgang Lux. This
corrects a potential mismatch between the document type and the type
specified in the panel.
2007-02-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSScrollView.m (-keyDown:, -scrollLineUp:,

View file

@ -1051,7 +1051,7 @@ originalContentsURL: (NSURL *)orig
if ([displayNames count] > 0)
{
NSArray *extensions = [[NSDocumentController sharedDocumentController]
fileExtensionsFromType: [self fileTypeFromLastRunSavePanel]];
fileExtensionsFromType: [self fileType]];
if ([extensions count] > 0)
{
[savePanel setRequiredFileType:[extensions objectAtIndex:0]];