Browse Source

fix(DevTools): Invalid Enum Editor

pull/11863/head
Giuseppe Lippolis 3 years ago
parent
commit
25a5971846
  1. 2
      src/Avalonia.Diagnostics/Diagnostics/Views/PropertyValueEditorView.cs

2
src/Avalonia.Diagnostics/Diagnostics/Views/PropertyValueEditorView.cs

@ -265,7 +265,7 @@ namespace Avalonia.Diagnostics.Views
static bool IsValidNumeric(Type? type) static bool IsValidNumeric(Type? type)
{ {
if (type == null) if (type == null || type.IsEnum == true)
{ {
return false; return false;
} }

Loading…
Cancel
Save