mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +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
353db5256c
commit
f981e6343f
2 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-09-05 10:30 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/NSTableView.m: [NSTableView mouseDown:] removed code which
|
||||
copied and subsequently DESTROYs dataCell. This was causing a
|
||||
SIGSEGV.
|
||||
|
||||
2004-09-05 06:23 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/GSServicesManager.m: new method -activateIgnoringOtherApps:
|
||||
|
|
|
@ -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…
Reference in a new issue