[Mono-bugs] [Bug 373603] Adding TreeNode-Objekte with Methode Add() to an empty TreeNodeCollection returns wrong index

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 26 10:53:31 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=373603

User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=373603#c2


Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED
  Status Whiteboard|                                                |TreeView




--- Comment #2 from Jonathan Pobst <jpobst at novell.com>  2008-03-26 08:53:31 MST ---
Fixed in r99031.  Thanks for the report and test case!

2008-03-26  Jonathan Pobst  <monkey at jpobst.com>

        * TreeNodeCollection.cs: Don't increment count until we've
        saved our index to return.
        [Fixes bug #373603]

2008-03-26  Jonathan Pobst  <monkey at jpobst.com>

        * TreeViewTest.cs: Add test for bug #373603.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list