mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-11 23:19:00 +08:00
If the menu is null, the treeview should not be displayed.
This commit is contained in:
parent
7367418de8
commit
adb4d6bd47
@ -159,6 +159,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
.Where(child => !this._visitedMenuStack.Contains(child.menu));
|
||||
foreach (MenuTree.ChildElement child in children)
|
||||
{
|
||||
if (child.menu == null) continue;
|
||||
string displayName = child.installer == null ?
|
||||
$"{child.menuName} ({child.menu.name})" :
|
||||
$"{child.menuName} ({child.menu.name}) InstallerObject : {child.installer.name}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user