mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 23:35:48 +02:00
Added a missing condition.
This commit is contained in:
parent
d1c831f3c2
commit
f8cb160e20
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ public class CProjectSourceContainer extends CompositeSourceContainer {
|
||||||
@Override
|
@Override
|
||||||
public void init(ISourceLookupDirector director) {
|
public void init(ISourceLookupDirector director) {
|
||||||
super.init(director);
|
super.init(director);
|
||||||
if (director != null) {
|
if (fProject == null && director != null) {
|
||||||
fProject = SourceUtils.getLaunchConfigurationProject(director);
|
fProject = SourceUtils.getLaunchConfigurationProject(director);
|
||||||
if (fProject != null) {
|
if (fProject != null) {
|
||||||
fRootURI = fProject.getLocationURI();
|
fRootURI = fProject.getLocationURI();
|
||||||
|
|
Loading…
Add table
Reference in a new issue