private void tryUpdateName()
{
if(nameBox.Text != name)
{
if(targetType == EntityEditTargetType.TARGET_TYPE)
{
rootView.logView.logWarning("Renaming types not implemented.");
return;
}
//Update
rootView.operationManagerInstance.renameEntity(instance, targetId, nameBox.Text);
name = nameBox.Text;
}
}