Browse Source

Merge pull request #11863 from workgroupengineering/fixes/DevTools/Enum-Editor

fix(DevTools): Invalid Enum Editor
pull/11868/head
Max Katz 3 years ago
committed by GitHub
parent
commit
ac4f1d1f77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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)
{
if (type == null)
if (type == null || type.IsEnum == true)
{
return false;
}

Loading…
Cancel
Save