mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:30:38 +00:00
Corrected bug #11885 on NSOutlineView, this could be optimised further.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20668 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d8aeb282ab
commit
419a3200aa
2 changed files with 15 additions and 4 deletions
|
@ -279,6 +279,8 @@ static NSImage *unexpandable = nil;
|
|||
}
|
||||
}
|
||||
[self noteNumberOfRowsChanged];
|
||||
// Should only mark the rect below the closed item for redraw
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -366,9 +368,12 @@ static NSImage *unexpandable = nil;
|
|||
[self expandItem: child expandChildren: expandChildren];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[self noteNumberOfRowsChanged];
|
||||
// Should only mark the rect below the expanded item for redraw
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
[self noteNumberOfRowsChanged];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1802,7 +1807,6 @@ static NSImage *unexpandable = nil;
|
|||
insertionPoint++;
|
||||
}
|
||||
|
||||
[self setNeedsDisplay: YES];
|
||||
for(i=numchildren-1; i >= 0; i--)
|
||||
{
|
||||
id obj = NSMapGet(_itemDict, sitem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue