Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-07-09 15:11:42 +0000
committerMichael Valenta2007-07-09 15:11:42 +0000
commitb4d012c04975613657e1d7f8803ab34fcfb5fe7f (patch)
tree177729db8258298356b69722b6171d48c0fc650c /bundles
parenteb5cb6a7074580c9111968f1fc437c165ad92767 (diff)
downloadeclipse.platform.team-b4d012c04975613657e1d7f8803ab34fcfb5fe7f.tar.gz
eclipse.platform.team-b4d012c04975613657e1d7f8803ab34fcfb5fe7f.tar.xz
eclipse.platform.team-b4d012c04975613657e1d7f8803ab34fcfb5fe7f.zip
Bug 110378 [Misc] Project > Share Project... with non-project resource selected causes NPE
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java
index 70d94886b..5d3674591 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java
@@ -45,11 +45,12 @@ public class ConfigureProjectAction extends TeamAction implements IWorkbenchWind
run(new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
try {
+ if (!isEnabled())
+ return;
IProject project = getSelectedProjects()[0];
ConfigureProjectWizard wizard = new ConfigureProjectWizard();
wizard.init(null, project);
WizardDialog dialog = new ResizeWizardDialog(getShell(), wizard);
- //dialog.
dialog.open();
} catch (Exception e) {
throw new InvocationTargetException(e);

Back to the top