Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Chuong2011-03-11 09:51:22 -0500
committerPatrick Chuong2011-03-11 09:51:22 -0500
commitaadf0c164a2b820a057cfb9a2a575bdaa6d23e7f (patch)
tree63a28f4241154b7fefdb86486304454ba8089e08 /debug/org.eclipse.cdt.debug.ui
parentfb1d8d2a97097e92a4393e874a7d13af5bbf261a (diff)
downloadorg.eclipse.cdt-aadf0c164a2b820a057cfb9a2a575bdaa6d23e7f.tar.gz
org.eclipse.cdt-aadf0c164a2b820a057cfb9a2a575bdaa6d23e7f.tar.xz
org.eclipse.cdt-aadf0c164a2b820a057cfb9a2a575bdaa6d23e7f.zip
Disassembly view doesn't show "No debug context", related to build 337376.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/PinDebugContextActionDelegate.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/PinDebugContextActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/PinDebugContextActionDelegate.java
index 0a000dee4c..6c0bf94957 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/PinDebugContextActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/PinDebugContextActionDelegate.java
@@ -105,7 +105,8 @@ public class PinDebugContextActionDelegate implements IViewActionDelegate, IActi
fPart.addPropertyListener(new IPropertyListener() {
public void propertyChanged(Object source, int propId) {
if (IWorkbenchPartConstants.PROP_CONTENT_DESCRIPTION == propId) {
- updatePinContextLabel(fProvider);
+ if (fAction != null && fAction.isChecked())
+ updatePinContextLabel(fProvider);
} else if (IWorkbenchPartConstants.PROP_PART_NAME == propId) {
PinCloneUtils.setPartTitle(fPart);
}

Back to the top