From adca5d2d1658527c46fdb31e4d99948a425046a0 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 21 Feb 2020 13:46:03 +0100 Subject: [PATCH] Bug Fixed --- FloatingSpace/UiObjectTitle.js | 5 +++++ 1 file changed, 5 insertions(+) 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 */