Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-05-22 00:24:13 -0400
committerTobias Schwarz2014-05-22 00:24:37 -0400
commit2441053b3164564d982379395fc2de37bea393e7 (patch)
tree04e13fb46331c7699585ba8f73114cfb73d5f868
parentcffcd92818538e3078206a5268293aac913b0ea8 (diff)
downloadorg.eclipse.tcf-2441053b3164564d982379395fc2de37bea393e7.tar.gz
org.eclipse.tcf-2441053b3164564d982379395fc2de37bea393e7.tar.xz
org.eclipse.tcf-2441053b3164564d982379395fc2de37bea393e7.zip
Target Explorer: fix build failure
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/dialogs/AttachContextSelectionDialog.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/dialogs/AttachContextSelectionDialog.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/dialogs/AttachContextSelectionDialog.java
index b1a2ffed3..f9b8b2b33 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/dialogs/AttachContextSelectionDialog.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/dialogs/AttachContextSelectionDialog.java
@@ -194,7 +194,6 @@ public class AttachContextSelectionDialog extends CustomTitleAreaDialog implemen
gd.widthHint = 300;
gd.heightHint = 300;
filteredTree.setLayoutData(gd);
- filteredTree.setQuickSelectionMode(true);
viewer.setContentProvider(new ContentProvider());
DelegatingLabelProvider labelProvider = new DelegatingLabelProvider() {
@@ -502,7 +501,7 @@ public class AttachContextSelectionDialog extends CustomTitleAreaDialog implemen
Object obj = it.next();
if (obj instanceof IProcessContextNode) {
IProcessContextItem item = ProcessDataHelper.getProcessContextItem((IProcessContextNode)obj);
- if (item != null) {
+ if (item != null && !items.contains(item)) {
items.add(item);
}
}

Back to the top