mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +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() {
|
||||
if (lastProjectName == null) return;
|
||||
if (!existingPath) {
|
||||
try {
|
||||
ResourcesPlugin.getWorkspace().getRoot().getProject(lastProjectName).delete(true, true, null);
|
||||
} catch (CoreException ignore) {}
|
||||
}
|
||||
try {
|
||||
ResourcesPlugin.getWorkspace().getRoot().getProject(lastProjectName).delete(!existingPath, true, null);
|
||||
} catch (CoreException ignore) {}
|
||||
newProject = null;
|
||||
lastProjectName = null;
|
||||
lastProjectLocation = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue