summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Ptaszkiewicz2012-04-18 12:14:32 (EDT)
committerCurtis Windatt2012-04-18 12:14:32 (EDT)
commit59c40c909ac2cbedd15d37c5123260ba1cf42a90 (patch)
tree3bfa2311ed9346884012b73bd699f54e36cbb0ff
parentb92f773d89fab412e1dc85269c28182c330219a8 (diff)
downloadeclipse.pde.ui-59c40c909ac2cbedd15d37c5123260ba1cf42a90.zip
eclipse.pde.ui-59c40c909ac2cbedd15d37c5123260ba1cf42a90.tar.gz
eclipse.pde.ui-59c40c909ac2cbedd15d37c5123260ba1cf42a90.tar.bz2
Bug 344720 - Removing nature from project description does not call plugin.deconfigure() properly
-rw-r--r--ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/natures/BaseProject.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/natures/BaseProject.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/natures/BaseProject.java
index 7a304f9..8a016b7 100644
--- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/natures/BaseProject.java
+++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/natures/BaseProject.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -64,6 +64,7 @@ public abstract class BaseProject extends PlatformObject implements IProjectNatu
System.arraycopy(commands, 0, newCommands, 0, i);
System.arraycopy(commands, i + 1, newCommands, i, commands.length - i - 1);
description.setBuildSpec(newCommands);
+ getProject().setDescription(description, null);
return;
}
}