Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java
index 68db30414..516e298e3 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java
@@ -83,7 +83,7 @@ public class DefaultSelectionPolicy implements IModelSelectionPolicy {
if (existing instanceof IStackFrame && candidate instanceof IStackFrame) {
IStackFrame curr = (IStackFrame) existing;
IStackFrame next = (IStackFrame) candidate;
- return curr.getThread().equals(next.getThread());
+ return curr.getThread().equals(next.getThread()) || !isSticky(existing);
}
return !isSticky(existing);
}

Back to the top