Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-01-24 17:16:13 +0000
committerjames2002-01-24 17:16:13 +0000
commit02d303b15f7a620a69e89440285dd98597f1d668 (patch)
tree0a405d4e82618f082819adb3851e106aae9fcae9
parent0cf5ae1b0dcc2d3643d3d2d0f5117a6b4a3feb54 (diff)
downloadeclipse.platform.team-02d303b15f7a620a69e89440285dd98597f1d668.tar.gz
eclipse.platform.team-02d303b15f7a620a69e89440285dd98597f1d668.tar.xz
eclipse.platform.team-02d303b15f7a620a69e89440285dd98597f1d668.zip
8341: Bizarre error dialog sharing closed project
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/actions/ConfigureProjectAction.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/actions/ConfigureProjectAction.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/actions/ConfigureProjectAction.java
index 975ec6a9b..ec79c0a17 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/actions/ConfigureProjectAction.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/actions/ConfigureProjectAction.java
@@ -46,6 +46,7 @@ public class ConfigureProjectAction extends TeamAction {
protected boolean isEnabled() {
IProject[] selectedProjects = getSelectedProjects();
if (selectedProjects.length != 1) return false;
+ if (!selectedProjects[0].isAccessible()) return false;
if (TeamPlugin.getManager().getProvider(selectedProjects[0]) == null) return true;
return false;
}

Back to the top