Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java
index 1b88a3296..2887b4341 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java
@@ -550,7 +550,7 @@ public abstract class AbstractDebugView extends PageBookView implements IDebugVi
}
/**
- * Persists the state of the check box actions contributed
+ * Persists the state of the enabled check box actions contributed
* to this view.
*
* @see IViewPart#saveState(IMemento)
@@ -569,7 +569,7 @@ public abstract class AbstractDebugView extends PageBookView implements IDebugVi
if (iContributionItem instanceof ActionContributionItem) {
ActionContributionItem item= (ActionContributionItem)iContributionItem;
IAction action= item.getAction();
- if (action.getStyle() == IAction.AS_CHECK_BOX) {
+ if (action.getStyle() == IAction.AS_CHECK_BOX && action.isEnabled()) {
saveActionState(memento, action);
}
}

Back to the top