Skip to main content
summaryrefslogtreecommitdiffstats
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, 3 insertions, 1 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 8f1aedbb0..1b88a3296 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
@@ -604,7 +604,9 @@ public abstract class AbstractDebugView extends PageBookView implements IDebugVi
if (id != null) {
Integer state= memento.getInteger(id);
if (state != null) {
- action.setChecked(state.intValue() == 1);
+ if (action.isEnabled()) {
+ action.setChecked(state.intValue() == 1);
+ }
}
}
}

Back to the top