Browse Source

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

pull/1645/head
brianlagunas_cp 14 years ago
parent
commit
fad356b88d
  1. 3
      ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs

3
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