Add remaining file type change by Wolfgang Lux.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24808 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-03-07 23:31:07 +00:00
parent 4df49881f2
commit f8969f62c9
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2007-03-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDocument.m
(-fileNameFromRunningSavePanelForSaveOperation:): Add remaining
change by Wolfgang Lux. This corrects a potential mismatch
between the document type and the type specified in the panel.
2007-03-08 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSTabView.h: Correct NSTabViewType enumerator to

View file

@ -1036,6 +1036,7 @@ originalContentsURL: (NSURL *)orig
NSDocumentController *controller;
NSSavePanel *savePanel = [NSSavePanel savePanel];
ASSIGN(_save_type, [self fileType]);
controller = [NSDocumentController sharedDocumentController];
displayNames = [controller _displayNamesForClass: [self class]];