Nicolas Cannasse 4 years ago
parent
commit
4fb64f2767
1 changed files with 4 additions and 1 deletions
  1. 4 1
      hide/comp/SceneEditor.hx

+ 4 - 1
hide/comp/SceneEditor.hx

@@ -2267,8 +2267,11 @@ class SceneEditor {
 			}
 			}
 		sortByLabel(gother);
 		sortByLabel(gother);
 		sortByLabel(newItems);
 		sortByLabel(newItems);
-		if( gother.length > 0 )
+		if( gother.length > 0 ) {
+			if( newItems.length == 0 )
+				return gother;
 			newItems.push({ label : "Other", menu : gother });
 			newItems.push({ label : "Other", menu : gother });
+		}
 		return newItems;
 		return newItems;
 	}
 	}