[Mono-bugs] [Bug 326858] New: [Patch] TreeView:SelectedNode_set doesn't grok null
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Sep 20 11:38:58 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=326858
Summary: [Patch] TreeView:SelectedNode_set doesn't grok null
Product: Mono: Class Libraries
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at ximian.com
ReportedBy: doc.formatique at gmail.com
QAContact: mono-bugs at ximian.com
Found By: ---
Created an attachment (id=173710)
--> (https://bugzilla.novell.com/attachment.cgi?id=173710)
Test case
Hi,
deselecting node on a TreeView can be done setting SelectedNode to null.
However, in that case, OnBeforeSelect and OnAfterSelect must not be called:
they can depend on having a valid node.
I'm attaching a testcase and a patch.
Regards,
yves
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list