2007-05-22 Andreia Gaita <avidigal@novell.com>
authorAndreia Gaita <avidigal@novell.com>
Wed, 23 May 2007 01:20:57 +0000 (01:20 -0000)
committerAndreia Gaita <avidigal@novell.com>
Wed, 23 May 2007 01:20:57 +0000 (01:20 -0000)
* NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
without updating the text.

svn path=/trunk/mcs/; revision=77822

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs

index d8de564effb2727b6aa2b790721bf5a40105b179..83e2d0e5353af20622e99cbf52770cba4f133b75 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-22  Andreia Gaita  <avidigal@novell.com>
+
+       * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
+       without updating the text.
+
 2007-05-22  Jonathan Pobst  <monkey@jpobst.com>
 
        * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
index 25a5d1aaaaf8c170518cd8858cf20593920a3bdc..2a341c34bfeb15233902d8609ca14ca82d7833f9 100644 (file)
@@ -398,8 +398,9 @@ namespace System.Windows.Forms {
                }
 
                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;