mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 21:10:48 +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
|
@ -1,3 +1,10 @@
|
|||
2005-02-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTableView.m (-expandItem:expandChildren:,
|
||||
collapseItem:collapseChildren:): Added a call to setNeedsDisplay:,
|
||||
so the new status will be shown correctly.
|
||||
(_openItem:): Removed setNeedsDisplay: call as all callers do it already.
|
||||
|
||||
2005-02-05 15:42 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Headers/AppKit/NSDataLinkManager.h: Moved NSDataLinkManager delegate
|
||||
|
@ -158,7 +165,7 @@
|
|||
|
||||
2005-01-20 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTableView.m (-rowAtPoint:): If the heigh of the table
|
||||
* Source/NSTableView.m (-rowAtPoint:): If the heigh of the table
|
||||
is incorrect and because of this the row would be greater than the
|
||||
number of rows, return a usable number.
|
||||
|
||||
|
|
|
@ -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