diff --git a/Torch/Views/PropertyGrid.xaml.cs b/Torch/Views/PropertyGrid.xaml.cs index df57d11..f6073be 100644 --- a/Torch/Views/PropertyGrid.xaml.cs +++ b/Torch/Views/PropertyGrid.xaml.cs @@ -81,7 +81,7 @@ namespace Torch.Views //If not found and IgnoreDisplay is not set, fall back to system DisplayAttribute if (a == null && !IgnoreDisplay) a = property.GetCustomAttribute(); - if (IgnoreDisplay && a == null || a?.Visible == false) + if (!IgnoreDisplay && a == null || a?.Visible == false) continue; descriptors[property] = a; string category = a?.GroupName ?? "Misc";