diff --git a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs index b31aab55..ba44bf9c 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs @@ -68,7 +68,8 @@ namespace Fungus.EditorUtils } if (Selection.activeGameObject == null && - flowchart.SelectedBlock != null) + flowchart.SelectedBlock != null && + flowchart.IsActive()) { if (blockInspector == null) {