<@UCQRGDEB1> `editPerson` just creates one instanc...
# tornadofx
e
@ValV
editPerson
just creates one instance of
PersonModel
and inserts the
person
passed in into the model. Then it creates a new scope and puts the personmodel into that scope. Then an instance of
PersonEditor
is located within the newly created scope. That means that the
PersonEditor
instance can now inject
PersonModel
and it will get the instance that was set into it's scope.