Browse Source

PropertyGrid; fixed null exception when clicking the categorize and alphabetize buttons when the SelectedObject is null.

import/raw
brianlagunas_cp 15 years ago
parent
commit
712f6e9c83
  1. 3
      Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs

3
Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs

@ -366,6 +366,9 @@ namespace Microsoft.Windows.Controls.PropertyGrid
private void LoadProperties(bool isCategorized)
{
if (_propertyItemsCache == null)
return;
//clear any filters first
Filter = String.Empty;

Loading…
Cancel
Save