ObjectEditor.refresh() needs to check if `hasSelected`; if there is no `selected` object do nothing