mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 07:50:48 +00:00
Remove both instances where we get properties from the binding where it is not needed during the loading process, per discussion with @fredkiefer
This commit is contained in:
parent
854af0901e
commit
5d9e49a2ff
1 changed files with 3 additions and 13 deletions
|
@ -3326,16 +3326,11 @@ byExtendingSelection: (BOOL)flag
|
|||
errorDescription: &error] == YES)
|
||||
{
|
||||
NSTableColumn *tb;
|
||||
GSKeyValueBinding *theBinding = nil;
|
||||
|
||||
[_editedCell setObjectValue: newObjectValue];
|
||||
tb = [_tableColumns objectAtIndex: _editedColumn];
|
||||
|
||||
theBinding = [GSKeyValueBinding getBinding: NSValueBinding
|
||||
forObject: tb];
|
||||
|
||||
if (_dataSource_editable
|
||||
|| theBinding != nil)
|
||||
if (_dataSource_editable)
|
||||
{
|
||||
[self _setObjectValue: newObjectValue
|
||||
forTableColumn: tb
|
||||
|
@ -3366,18 +3361,13 @@ byExtendingSelection: (BOOL)flag
|
|||
if (validatedOK)
|
||||
{
|
||||
NSTableColumn *tb;
|
||||
GSKeyValueBinding *theBinding = nil;
|
||||
|
||||
[_editedCell setStringValue: string];
|
||||
tb = [_tableColumns objectAtIndex: _editedColumn];
|
||||
|
||||
theBinding = [GSKeyValueBinding getBinding: NSValueBinding
|
||||
forObject: tb];
|
||||
|
||||
if (_dataSource_editable
|
||||
|| theBinding != nil)
|
||||
if (_dataSource_editable)
|
||||
{
|
||||
[self _setObjectValue: string // newObjectValue
|
||||
[self _setObjectValue: string
|
||||
forTableColumn: tb
|
||||
row: _editedRow];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue