Ahmed Mourad
05/18/2020, 5:16 AMClassificationViewModel#uiMode
as Property<UiMode>
instead of ObjectProperty<UiMode>
, despite the IDE type hints clearly saying it is of type ObjectProperty<UiMode>
and the whole thing sounding like an easy task for type inference.
This also didn't happen with other properties of type BooleanProperty<T>
for some reason.
Specifying the type explicitly for uiMode
solved the problem.