Author: andreia
Date: 2007-05-22 21:20:57 -0400 (Tue, 22 May 2007)
New Revision: 77822

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
Log:
2007-05-22  Andreia Gaita  <[EMAIL PROTECTED]>

* NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
without updating the text.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-23 00:19:29 UTC (rev 77821)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-23 01:20:57 UTC (rev 77822)
@@ -1,3 +1,8 @@
+2007-05-22  Andreia Gaita  <[EMAIL PROTECTED]>
+
+       * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
+       without updating the text.
+
 2007-05-22  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs 
2007-05-23 00:19:29 UTC (rev 77821)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs 
2007-05-23 01:20:57 UTC (rev 77822)
@@ -398,8 +398,9 @@
                }
 
                private string UpdateEditText (decimal val) {
-                       if (suppress_validation > 0)
-                               return Text;
+                       // TODO: why is this here?
+//                     if (suppress_validation > 0)
+//                         return Text;
 
                        decimal ret = val;
                        string text = Text;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to