[Mono-bugs] [Bug 81847][Nor] Changed - Flawed EventArgs in AfterLabelEdit event of Treeview

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jun 10 11:25:31 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tmm at aon.at.

http://bugzilla.ximian.com/show_bug.cgi?id=81847

--- shadow/81847	2007-06-10 10:22:31.000000000 -0400
+++ shadow/81847.tmp.20202	2007-06-10 11:25:31.000000000 -0400
@@ -25,6 +25,15 @@
 
 edit_args = new NodeLabelEditEventArgs (edit_node);
 
 edit_node seems to be the node that is getting edited. But edit_node is set
 only _after_ creating an Instance of NodeLabelEditEventArgs. So the e.Node
 is always null!
+
+------- Additional Comments From tmm at aon.at  2007-06-10 11:25 -------
+Ok, I replaced
+edit_args = new NodeLabelEditEventArgs (edit_node);
+with
+edit_args = new NodeLabelEditEventArgs (node);
+
+compiled the System.Windows.Forms.dll and replaced it with the old one
+and now it works perfectly.


More information about the mono-bugs mailing list