mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 08:30:59 +00:00
* Source/GSThemeDrawing.m (-drawTableViewRow:clipRect:inView:):
Don't change the value of an edited cell. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37638 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
74e1e2b088
commit
db2cf18bfe
2 changed files with 16 additions and 6 deletions
|
@ -1,7 +1,12 @@
|
|||
2014-01-26 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSThemeDrawing.m (-drawTableViewRow:clipRect:inView:):
|
||||
Don't change the value of an edited cell.
|
||||
|
||||
2014-01-26 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
|
||||
* Source/NSFontPanel.m
|
||||
* Some int -> NSInteger and float -> CGFloat transitions
|
||||
Some int -> NSInteger and float -> CGFloat transitions
|
||||
|
||||
2014-01-24 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
|
|
|
@ -3135,14 +3135,19 @@ typedef enum {
|
|||
const BOOL cellSelected = (rowSelected || columnSelected);
|
||||
tb = [tableColumns objectAtIndex: i];
|
||||
cell = [tb dataCellForRow: rowIndex];
|
||||
if (i == editedColumn && rowIndex == editedRow)
|
||||
[cell _setInEditing: YES];
|
||||
[tableView _willDisplayCell: cell
|
||||
forTableColumn: tb
|
||||
row: rowIndex];
|
||||
[cell setObjectValue: [dataSource tableView: tableView
|
||||
objectValueForTableColumn: tb
|
||||
row: rowIndex]];
|
||||
if (i == editedColumn && rowIndex == editedRow)
|
||||
{
|
||||
[cell _setInEditing: YES];
|
||||
}
|
||||
else
|
||||
{
|
||||
[cell setObjectValue: [dataSource tableView: tableView
|
||||
objectValueForTableColumn: tb
|
||||
row: rowIndex]];
|
||||
}
|
||||
drawingRect = [tableView frameOfCellAtColumn: i
|
||||
row: rowIndex];
|
||||
|
||||
|
|
Loading…
Reference in a new issue