diff --git a/ChangeLog b/ChangeLog index 02b69a9dc..9b3ce3d0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-07 Adam Fedor + + * Source/NSSplitView.m (-adjustSubviews): Just return if there + are no subviews. + 2008-05-07 Fred Kiefer * Source/NSWindow.m (-_terminateBackendWindow, diff --git a/Source/NSSplitView.m b/Source/NSSplitView.m index 770aee182..7b58a51c7 100644 --- a/Source/NSSplitView.m +++ b/Source/NSSplitView.m @@ -704,6 +704,9 @@ static NSNotificationCenter *nc = nil; BOOL autoloading = NO; double proportions[count]; + if (count == 0) + return; + [nc postNotificationName: NSSplitViewWillResizeSubviewsNotification object: self];