mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
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:
parent
3a4a94238e
commit
9194d2c50f
2 changed files with 7 additions and 1 deletions
|
@ -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:,
|
||||
|
|
|
@ -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]];
|
||||
|
|
Loading…
Reference in a new issue