mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 23:30:55 +00:00
(-adjustSubviews): Just return when there are no subviews.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26496 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ea97a86d9a
commit
487fdc6524
2 changed files with 8 additions and 0 deletions
|
@ -704,6 +704,9 @@ static NSNotificationCenter *nc = nil;
|
|||
BOOL autoloading = NO;
|
||||
double proportions[count];
|
||||
|
||||
if (count == 0)
|
||||
return;
|
||||
|
||||
[nc postNotificationName: NSSplitViewWillResizeSubviewsNotification
|
||||
object: self];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue