mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 22:05:44 +02:00
Bug #184671
This commit is contained in:
parent
513a224530
commit
0a81ce7c3d
1 changed files with 3 additions and 5 deletions
|
@ -122,11 +122,9 @@ implements IExecutableExtension, IWizardWithMemory
|
||||||
*/
|
*/
|
||||||
private void clearProject() {
|
private void clearProject() {
|
||||||
if (lastProjectName == null) return;
|
if (lastProjectName == null) return;
|
||||||
if (!existingPath) {
|
|
||||||
try {
|
try {
|
||||||
ResourcesPlugin.getWorkspace().getRoot().getProject(lastProjectName).delete(true, true, null);
|
ResourcesPlugin.getWorkspace().getRoot().getProject(lastProjectName).delete(!existingPath, true, null);
|
||||||
} catch (CoreException ignore) {}
|
} catch (CoreException ignore) {}
|
||||||
}
|
|
||||||
newProject = null;
|
newProject = null;
|
||||||
lastProjectName = null;
|
lastProjectName = null;
|
||||||
lastProjectLocation = null;
|
lastProjectLocation = null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue