Author: mlytwyn
Date: Thu Dec 4 17:10:28 2014
New Revision: 38229
URL: http://svn.gna.org/viewcvs/gnustep?rev=38229&view=rev
Log:
Send text storage versus string for tableView:setObjectValue delegate invocation
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m?rev=38229&r1=38228&r2=38229&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m Thu Dec
4 17:10:28 2014
@@ -3375,13 +3375,11 @@
if (_dataSource_editable)
{
- NSTableColumn *tb;
+ NSTableColumn *tb = [_tableColumns objectAtIndex: _editedColumn];
- tb = [_tableColumns objectAtIndex: _editedColumn];
-
- [self _setObjectValue: string // newObjectValue
- forTableColumn: tb
- row: _editedRow];
+ [self _setObjectValue: [_textObject textStorage] //
newObjectValue
+ forTableColumn: tb
+ row: _editedRow];
}
}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs