Workaround for bug #19031.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24644 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-02-18 19:49:47 +00:00
parent 0bf2d2fb4d
commit 21542d5c9c
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-02-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDocument.m (runModalSavePanel:withAccessoryView:): Only
set accessory view when not nil. Workaround for bug #19031.
2007-02-16 Richard Frith-Macdoanld <rfm@gnu.org>
* Source/NSMenuItemCell.m: fixup glitch with drawing of horizontal

View file

@ -943,7 +943,10 @@ originalContentsURL: (NSURL *)orig
- (int)runModalSavePanel: (NSSavePanel *)savePanel
withAccessoryView: (NSView *)accessoryView
{
[savePanel setAccessoryView: accessoryView];
if (accessoryView)
{
[savePanel setAccessoryView: accessoryView];
}
return [savePanel runModal];
}