Author: andreia
Date: 2007-05-23 07:08:31 -0400 (Wed, 23 May 2007)
New Revision: 77829

Modified:
   
branches/mono-1-2-4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
branches/mono-1-2-4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
Log:
2007-05-23  Andreia Gaita  <[EMAIL PROTECTED]>

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

Modified: 
branches/mono-1-2-4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- 
branches/mono-1-2-4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
  2007-05-23 10:40:09 UTC (rev 77828)
+++ 
branches/mono-1-2-4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
  2007-05-23 11:08:31 UTC (rev 77829)
@@ -1,3 +1,8 @@
+2007-05-23  Andreia Gaita  <[EMAIL PROTECTED]>
+
+       * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
+       without updating the text.
+
 2007-05-22  Jackson Harper  <[EMAIL PROTECTED]>
 
        * RichTextBox.cs: Set the line endings correctly, when flushing

Modified: 
branches/mono-1-2-4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
===================================================================
--- 
branches/mono-1-2-4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
   2007-05-23 10:40:09 UTC (rev 77828)
+++ 
branches/mono-1-2-4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
   2007-05-23 11:08:31 UTC (rev 77829)
@@ -379,8 +379,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