mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 13:55:39 +02:00
Fix for [Bug 179223] Invalid Project Path on config switch
This commit is contained in:
parent
2cbdda97c7
commit
9e498979be
1 changed files with 2 additions and 1 deletions
|
@ -425,7 +425,8 @@ public class PathEntryUtil {
|
||||||
IProject project = cProject.getProject();
|
IProject project = cProject.getProject();
|
||||||
IPath path = entry.getPath();
|
IPath path = entry.getPath();
|
||||||
if (entry.getEntryKind() != IPathEntry.CDT_PROJECT &&
|
if (entry.getEntryKind() != IPathEntry.CDT_PROJECT &&
|
||||||
entry.getEntryKind() != IPathEntry.CDT_CONTAINER) {
|
entry.getEntryKind() != IPathEntry.CDT_CONTAINER
|
||||||
|
&& entry.getEntryKind() != IPathEntry.CDT_OUTPUT) {
|
||||||
if (!isValidWorkspacePath(project, path)) {
|
if (!isValidWorkspacePath(project, path)) {
|
||||||
return new CModelStatus(
|
return new CModelStatus(
|
||||||
ICModelStatusConstants.INVALID_PATHENTRY,
|
ICModelStatusConstants.INVALID_PATHENTRY,
|
||||||
|
|
Loading…
Add table
Reference in a new issue