Fix neuron name editor
This commit is contained in:
parent
cc9a845b64
commit
ecab0b05c5
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user