diff --git a/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java b/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java index f10ae631f..34f24b060 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java @@ -154,11 +154,12 @@ public final class FilterExplorerTopComponent extends TopComponent implements Ex node = object.getLookup().lookup(FilterPostProcessorNode.class); setActivatedNodes(new Node[]{object.getNodeDelegate()}); open(); + boolean wasAdded = added; if (currentFile != null && added) { setFilterEnabled(false); } currentFile = object; - if (added) { + if (wasAdded) { setFilterEnabled(true); } requestVisible();