mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-23 04:11:54 -04:00
fixes a enum editor issue
This commit is contained in:
parent
c7310eff28
commit
374678fc85
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user