Fix neuron name editor

This commit is contained in:
Pascal Serrarens 2026-04-28 09:56:48 +02:00
parent cc9a845b64
commit ecab0b05c5

View File

@ -169,7 +169,7 @@ namespace NanoBrain {
GUILayout.Label(nucleusType, headerStyle);
// Nucleus name
if (this.currentNucleus.parent is Cluster parentCluster) {
if (this.currentNucleus is Cluster parentCluster) {
EditorGUILayout.BeginHorizontal();
if (GUILayout.Button(this.currentNucleus.parent.name))
OnClusterClick(parentCluster);