mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 02:10:48 +00:00
Corrected issue with NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19999 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
41143b036e
commit
c30f15c802
2 changed files with 7 additions and 5 deletions
|
@ -3460,9 +3460,7 @@ inline float computePeriod(NSPoint mouseLocationWin,
|
|||
|
||||
// Prepare the cell
|
||||
tb = [_tableColumns objectAtIndex: _clickedColumn];
|
||||
// NB: need to be released when no longer used
|
||||
// Not sure if we really need a copy here.
|
||||
cell = [[tb dataCellForRow: _clickedRow] copy];
|
||||
cell = [tb dataCellForRow: _clickedRow];
|
||||
[cell setObjectValue: [self _objectValueForTableColumn: tb
|
||||
row: _clickedRow]];
|
||||
cellFrame = [self frameOfCellAtColumn: _clickedColumn
|
||||
|
@ -3498,8 +3496,6 @@ inline float computePeriod(NSPoint mouseLocationWin,
|
|||
[cell setHighlighted: NO];
|
||||
[self setNeedsDisplayInRect: cellFrame];
|
||||
lastEvent = [NSApp currentEvent];
|
||||
|
||||
DESTROY(cell);
|
||||
}
|
||||
|
||||
while (done != YES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue