diff --git a/FloatingSpace/UiObjectTitle.js b/FloatingSpace/UiObjectTitle.js index efb8a1da2..00f7984cd 100644 --- a/FloatingSpace/UiObjectTitle.js +++ b/FloatingSpace/UiObjectTitle.js @@ -141,6 +141,11 @@ function newUiObjectTitle () { } } + /* The name becomes the title. */ + if (thisObject.payload.node.name !== undefined) { + thisObject.payload.title = thisObject.payload.node.name + } + let title = trimTitle(thisObject.payload.title) /* Here we set the dimensions and position of this object */