mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Small patches by Andreas Höschler to NSTableView and NSComboBoxCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22861 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bd8932fa1e
commit
d346b59f9f
3 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-05-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTableView.m (-_editNextEditableCellAfterRow:column:,
|
||||
_editPreviousEditableCellBeforeRow:column:) Select the new row
|
||||
before editing a cell.
|
||||
* Source/NSComboBoxCell.m (GSComboWindow -validateSelection):
|
||||
Removed the didChangeText call on the textObject.
|
||||
Patches by Andreas Höschler <ahoesch@smartsoft.de>.
|
||||
|
||||
2006-05-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSWindow.m: ([-makeFirstResponder:]) fixed for nil argument.
|
||||
|
|
|
@ -711,13 +711,6 @@ static GSComboWindow *gsWindow = nil;
|
|||
// no effect, to correct this fact, the code below is needed.
|
||||
[textObject setString: [_cell _stringValueAtIndex:
|
||||
[_cell indexOfSelectedItem]]];
|
||||
|
||||
/*
|
||||
* Dispatch the text notifications and by side effect update the cell
|
||||
* object value with the -textDidChange: method of NSTextField which is
|
||||
* the editor delegate
|
||||
*/
|
||||
[(NSTextView *)textObject didChangeText];
|
||||
// End of the code to remove
|
||||
|
||||
if (textObject != nil)
|
||||
|
|
|
@ -5363,6 +5363,8 @@ static inline float computePeriod(NSPoint mouseLocationWin,
|
|||
// Otherwise, make the big cycle.
|
||||
for (i = row + 1; i < _numberOfRows; i++)
|
||||
{
|
||||
// Need to select row to be able to edit it.
|
||||
[self selectRow: i byExtendingSelection: NO];
|
||||
for (j = 0; j < _numberOfColumns; j++)
|
||||
{
|
||||
if (_isCellEditable (_delegate, _tableColumns, self, i, j) == YES)
|
||||
|
@ -5393,6 +5395,8 @@ static inline float computePeriod(NSPoint mouseLocationWin,
|
|||
// Otherwise, make the big cycle.
|
||||
for (i = row - 1; i > -1; i--)
|
||||
{
|
||||
// Need to select row to be able to edit it.
|
||||
[self selectRow: i byExtendingSelection: NO];
|
||||
for (j = _numberOfColumns - 1; j > -1; j--)
|
||||
{
|
||||
if (_isCellEditable (_delegate, _tableColumns, self, i, j) == YES)
|
||||
|
|
Loading…
Reference in a new issue