mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
Fixed previous commit so it doesn't break buttons in the tableview.
This commit is contained in:
1 parent
bd21153300
commit
10b7eb83f1
1 file changed
+4
-2
@@ -2154,10 +2154,12 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)_commitDataViewObjectValue:(CPTextView)sender
|
||||
- (void)_commitDataViewObjectValue:(id)sender
|
||||
{
|
||||
[_dataSource tableView:self setObjectValue:[sender objectValue] forTableColumn:sender.tableViewEditedColumnObj row:sender.tableViewEditedRowIndex];
|
||||
[sender setEditable:NO];
|
||||
|
||||
if ([sender respondsToSelector:@selector(setEditable:)])
|
||||
[sender setEditable:NO];
|
||||
}
|
||||
|
||||
- (CPView)_newDataViewForRow:(CPInteger)aRow tableColumn:(CPTableColumn)aTableColumn
|
||||
|
||||
Reference in new issue
Block a user