1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 336268 create empty selection when last tab is disposed.

This commit is contained in:
Randy Rohrbach 2011-02-09 18:40:32 +00:00
parent 98d41710ac
commit caccc14ee8

View file

@ -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();