mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
small update to the previous fix
This commit is contained in:
parent
5d85dce38e
commit
dffde1e9e5
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ public class NewSourceFolderWizardPage extends NewElementWizardPage {
|
|||
private ICSourceEntry[] addEntry(ICSourceEntry[] entries, ICSourceEntry entry, boolean removeProj){
|
||||
Set set = new HashSet();
|
||||
for(int i = 0; i < entries.length; i++){
|
||||
if(removeProj && new Path(entries[i].getValue()).segmentCount() == 0)
|
||||
if(removeProj && new Path(entries[i].getValue()).segmentCount() == 1)
|
||||
continue;
|
||||
|
||||
set.add(entries[i]);
|
||||
|
|
Loading…
Add table
Reference in a new issue