mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:10:38 +00:00
Check in the control not in the text field whether the cell is currently
being edited. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26613 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3d9091f2d4
commit
d2cdcf7415
4 changed files with 40 additions and 32 deletions
|
@ -3254,9 +3254,9 @@ byExtendingSelection: (BOOL)flag
|
|||
}
|
||||
|
||||
- (void) editColumn: (int) columnIndex
|
||||
row: (int) rowIndex
|
||||
withEvent: (NSEvent *) theEvent
|
||||
select: (BOOL) flag
|
||||
row: (int) rowIndex
|
||||
withEvent: (NSEvent *) theEvent
|
||||
select: (BOOL) flag
|
||||
{
|
||||
NSText *t;
|
||||
NSTableColumn *tb;
|
||||
|
@ -5188,7 +5188,7 @@ static BOOL selectContiguousRegion(NSTableView *self,
|
|||
|
||||
for (i = startingRow; i <= endingRow; i++)
|
||||
{
|
||||
(*imp)(self, sel, i, aRect);
|
||||
(*imp)(self, sel, i, aRect);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5924,10 +5924,10 @@ static BOOL selectContiguousRegion(NSTableView *self,
|
|||
|
||||
if ([self _isCellEditableColumn: column row:row])
|
||||
{
|
||||
[self editColumn: column
|
||||
row: row
|
||||
withEvent: nil
|
||||
select: YES];
|
||||
[self editColumn: column
|
||||
row: row
|
||||
withEvent: nil
|
||||
select: YES];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue