From 70fd89a472f0a411d1bc240fc8a39426c82c9ef6 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Thu, 1 Jul 2004 18:46:42 +0000 Subject: [PATCH] Corrected bug in NSOutlineView git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19665 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSOutlineView.m | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index af0e314d6..7d0f0867c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-07-01 Fred Kiefer + + * Source/NSOutlineView.m (-reloadItem:reloadChildren:): Convert + possible NSNull key to nil. + 2004-06-28 Gregory John Casamento * Headers/Additions/GNUstepGUI/GSNibTemplates.h: Updated the diff --git a/Source/NSOutlineView.m b/Source/NSOutlineView.m index 0d8a5e844..abe2d527f 100644 --- a/Source/NSOutlineView.m +++ b/Source/NSOutlineView.m @@ -611,6 +611,7 @@ static NSImage *unexpandable = nil; if ((index = [childArray indexOfObject: object]) != NSNotFound) { + parent = (parent == [NSNull null])?nil:parent; dsobj = [_dataSource outlineView: self child: index ofItem: parent];