From ecab0b05c55a379f4dcd7bb6633246848522c455 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Tue, 28 Apr 2026 09:56:48 +0200 Subject: [PATCH] Fix neuron name editor --- Editor/ClusterEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/ClusterEditor.cs b/Editor/ClusterEditor.cs index 1498a79..44ac86f 100644 --- a/Editor/ClusterEditor.cs +++ b/Editor/ClusterEditor.cs @@ -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);