Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2017-04-19 06:29:32 -0400
committerSarika Sinha2017-04-19 06:29:32 -0400
commit6dd555a82e1f82b511c447b3257648a8d6326722 (patch)
treecbf3390aeef82bbf6126a3f2c0ea9a28f0214984
parentcbae4c7c2374e4265f51fedaf5faa6c1e8df945b (diff)
downloadeclipse.platform.debug-6dd555a82e1f82b511c447b3257648a8d6326722.tar.gz
eclipse.platform.debug-6dd555a82e1f82b511c447b3257648a8d6326722.tar.xz
eclipse.platform.debug-6dd555a82e1f82b511c447b3257648a8d6326722.zip
Bug 494764 - MemoryRetrievalProxy listener isn't added when openingI20170419-2000
MemoryView with no active debug session
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryBlocksTreeViewPane.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryBlocksTreeViewPane.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryBlocksTreeViewPane.java
index 8965a6fe9..4765fec9b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryBlocksTreeViewPane.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryBlocksTreeViewPane.java
@@ -264,7 +264,7 @@ public class MemoryBlocksTreeViewPane implements ISelectionListener, ISelectionC
if (obj instanceof IAdaptable) {
IAdaptable context = (IAdaptable) obj;
IMemoryBlockRetrieval retrieval = MemoryViewUtil.getMemoryBlockRetrieval(context);
- if (retrieval != null && (retrieval != fRetrieval || retrieval != fTreeViewer.getInput()) && fTreeViewer != null && fTreeViewer.getContentProvider() != null) {
+ if (retrieval != null && fTreeViewer != null && (retrieval != fRetrieval || retrieval != fTreeViewer.getInput()) && fTreeViewer.getContentProvider() != null) {
// set new setting
fRetrieval = retrieval;
fTreeViewer.setInput(fRetrieval);

Back to the top