Fixed bug in NSTableView editing ... was copying the string from one cell

to another one when moving with TAB.  Fixed memory leak in NSTableView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12695 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-02-23 01:14:37 +00:00
parent e13f23caeb
commit 6334dc04ef

View file

@ -1,3 +1,13 @@
Sat Feb 23 01:28:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTableView.m ([-editColumn:row:withEvent:select:]):
Call stringValue on the _editedCell before setting up _textObject,
not after, to prevent a spurious validation from messing up the
text to edit. This fixes the bug when moving with TAB between
different edited cells.
* Source/NSTableView.m ([-textDidEndEditing:]): Release the
_editedCell *before* setting it to nil :-).
Fri Feb 22 22:55:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patches by Alexander Malmberg <alexander@malmber.org>: