Author: joncham
Date: 2006-06-28 12:54:36 -0400 (Wed, 28 Jun 2006)
New Revision: 62118

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs
Log:
2006-06-28  Jonathan Chambers  <[EMAIL PROTECTED]>

        * PropertyGrid.cs: refresh toolbar when PropertySort is set.
        Patch from Eno for #78555.


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-06-28 16:05:20 UTC (rev 62117)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-06-28 16:54:36 UTC (rev 62118)
@@ -1,3 +1,8 @@
+2006-06-28  Jonathan Chambers  <[EMAIL PROTECTED]>
+
+       * PropertyGrid.cs: refresh toolbar when PropertySort is set.
+       Patch from Eno for #78555.
+
 2006-06-27  Chris Toshok  <[EMAIL PROTECTED]>
 
        * ThemeWin32Classic.cs: s/grid.grid_drawing/grid

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs  
2006-06-28 16:05:20 UTC (rev 62117)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs  
2006-06-28 16:54:36 UTC (rev 62118)
@@ -425,7 +425,8 @@
                                }
 
                                property_sort = value;
-                               
+
+                               UpdateToolBarButtons();
                                ReflectObjects();
                                property_grid_view.Refresh();
                                
@@ -913,9 +914,6 @@
                        else if (e.Button == categorized_toolbarbutton) {
                                this.PropertySort = PropertySort.Categorized;
                        }
-                       UpdateToolBarButtons();
-                       ReflectObjects();
-                       property_grid_view.Refresh();
                }
 
                internal void UpdateToolBarButtons () {

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

Reply via email to