Skip to content

Commit 66bb037

Browse files
ptzieglerHannesWell
authored andcommitted
Fix: Target editor no longer shows unresolvable IUs #2220
The change 7444c3f wrongfully inverted the isOK() check, causing unresolvable IUs to no longer show up in the target editor. Closes #2220
1 parent 518aa04 commit 66bb037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/shared/target/TargetLocationContentProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public Object[] getElements(Object inputElement) {
126126
}
127127
result.add(containers[i]);
128128
IStatus status = containers[i].getStatus();
129-
if (status != null && status.isOK()) {
129+
if (status != null && !status.isOK()) {
130130
hasContainerStatus = true;
131131
}
132132
}

0 commit comments

Comments
 (0)