* DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
commit7180227d08b0ba6e0ccad1c52a393a625d738051
authorChris Toshok <toshok@novell.com>
Sat, 9 Dec 2006 01:46:56 +0000 (9 01:46 -0000)
committerChris Toshok <toshok@novell.com>
Sat, 9 Dec 2006 01:46:56 +0000 (9 01:46 -0000)
tree9054866e511da70bc40d33e3cbbf786a78decf71
parentf9424cfaff6e53c2c633674376851043b0ffe680
* DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
calls EndEdit, it needs to be called before we set current_cell to
its new value.  Otherwise, we end up committing the value in the
textbox to the new cell as well.  Fixes bug #80160.

2006-12-08  Chris Toshok  <toshok@ximian.com>

svn path=/trunk/mcs/; revision=69257
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs