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

https://bugzilla.novell.com/show_bug.cgi?id=660294#c1


Jerome De Cuyper <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|[email protected]  |[email protected]

--- Comment #1 from Jerome De Cuyper <[email protected]> 2010-12-20 
18:52:59 UTC ---
Created an attachment (id=405662)
 --> (http://bugzilla.novell.com/attachment.cgi?id=405662)
Avoid exception when SelectedText is set to null.

After patch is applied, the following code will run without throwing
NullReferenceException:

Text = "Color picker";
ComboBox cb = new ComboBox ();
cb.Text = "Choose a color";
cb.Items.Add ("Green");
cb.Items.Add ("Red");
cb.Items.Add ("Blue");
cb.Items.Add ("Grey");
cb.SelectedText = null; 
Controls.Add (cb);

-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to