projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #948 from ermshiperete/bug-xamarin-2394
[mono.git]
/
mcs
/
class
/
Managed.Windows.Forms
/
System.Windows.Forms
/
DataGridView.cs
diff --git
a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs
b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs
index b7e9a1d853cb456c67a5d120212da058499b7f4c..393d5cba9aebfd3d0da99fd14f52067b5b2f70e6 100644
(file)
--- a/
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs
+++ b/
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs
@@
-3392,6
+3392,7
@@
namespace System.Windows.Forms {
protected override void Dispose (bool disposing) {
if (disposing) {
ClearSelection();
+ currentCell = null;
foreach (DataGridViewColumn column in Columns)
column.Dispose();
Columns.Clear();