Skip to main content
summaryrefslogtreecommitdiffstats
path: root/memory
diff options
context:
space:
mode:
authorRandy Rohrbach2011-02-09 13:40:32 -0500
committerRandy Rohrbach2011-02-09 13:40:32 -0500
commitcaccc14ee82fe9bdb27a3db8a627b6eb2a2f000f (patch)
tree3309cd7729a04453fbdad4280742789110cc3a5f /memory
parent98d41710ac180047f9a3aeaf529a17cf69fc88ca (diff)
downloadorg.eclipse.cdt-caccc14ee82fe9bdb27a3db8a627b6eb2a2f000f.tar.gz
org.eclipse.cdt-caccc14ee82fe9bdb27a3db8a627b6eb2a2f000f.tar.xz
org.eclipse.cdt-caccc14ee82fe9bdb27a3db8a627b6eb2a2f000f.zip
Bug 336268 create empty selection when last tab is disposed.
Diffstat (limited to 'memory')
-rw-r--r--memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/src/org/eclipse/cdt/debug/ui/memory/memorybrowser/MemoryBrowser.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/src/org/eclipse/cdt/debug/ui/memory/memorybrowser/MemoryBrowser.java b/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/src/org/eclipse/cdt/debug/ui/memory/memorybrowser/MemoryBrowser.java
index bba517e47f..fef83f11fb 100644
--- a/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/src/org/eclipse/cdt/debug/ui/memory/memorybrowser/MemoryBrowser.java
+++ b/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/src/org/eclipse/cdt/debug/ui/memory/memorybrowser/MemoryBrowser.java
@@ -610,6 +610,7 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IM
rendering.dispose();
if (rendering == fActiveRendering) {
fActiveRendering = null;
+ getSite().getSelectionProvider().setSelection(new StructuredSelection());
}
}
map.clear();

Back to the top