Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/OpenTypeHierarchyAction.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/OpenTypeHierarchyAction.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/OpenTypeHierarchyAction.java
index bf55bcfd0..cd2c3a11f 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/OpenTypeHierarchyAction.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/OpenTypeHierarchyAction.java
@@ -284,6 +284,7 @@ public class OpenTypeHierarchyAction extends SelectionDispatchAction implements
}
public void update() {
+ setEnabled(fEditor != null);
}
/**

Back to the top