fixes a enum editor issue

This commit is contained in:
hneemann 2021-01-22 13:22:30 +01:00
parent c7310eff28
commit 374678fc85

View File

@ -790,7 +790,7 @@ public final class EditorFactory {
private int indexOf(E value) {
for (int i = 0; i < values.length; i++)
if (value == values[i])
if (value.equals(values[i]))
return i;
return 0;
}