2006-06-28 Jonathan Chambers <jonathan.chambers@ansys.com>
authorJonathan Chambers <joncham@gmail.com>
Wed, 28 Jun 2006 16:54:36 +0000 (16:54 -0000)
committerJonathan Chambers <joncham@gmail.com>
Wed, 28 Jun 2006 16:54:36 +0000 (16:54 -0000)
* PropertyGrid.cs: refresh toolbar when PropertySort is set.
Patch from Eno for #78555.

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

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

index 273d9b9955f93768ea07e53a36fc7c1bf88ec60f..8a574dc714ead4ecc58ea3719377a51659ca9f6b 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-28  Jonathan Chambers  <jonathan.chambers@ansys.com>
+
+       * PropertyGrid.cs: refresh toolbar when PropertySort is set.
+       Patch from Eno for #78555.
+
 2006-06-27  Chris Toshok  <toshok@ximian.com>
 
        * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
index de1688793581fec14a9214406bc8aa6c2ccec7ce..8974af208d570ace557a7700a399ca232134188b 100644 (file)
@@ -425,7 +425,8 @@ namespace System.Windows.Forms {
                                }
 
                                property_sort = value;
-                               
+
+                               UpdateToolBarButtons();
                                ReflectObjects();
                                property_grid_view.Refresh();
                                
@@ -913,9 +914,6 @@ namespace System.Windows.Forms {
                        else if (e.Button == categorized_toolbarbutton) {
                                this.PropertySort = PropertySort.Categorized;
                        }
-                       UpdateToolBarButtons();
-                       ReflectObjects();
-                       property_grid_view.Refresh();
                }
 
                internal void UpdateToolBarButtons () {