diff options
author | John Cortell | 2007-12-07 17:06:33 +0000 |
---|---|---|
committer | John Cortell | 2007-12-07 17:06:33 +0000 |
commit | c194265e35e9b98cbe34839a5fb99530100c1fbe (patch) | |
tree | 9f19939068cca61f990e15135ed3a5ec2b8a5230 | |
parent | 31930963f0b99061b914dae73d4a4577e6627712 (diff) | |
download | org.eclipse.cdt-c194265e35e9b98cbe34839a5fb99530100c1fbe.tar.gz org.eclipse.cdt-c194265e35e9b98cbe34839a5fb99530100c1fbe.tar.xz org.eclipse.cdt-c194265e35e9b98cbe34839a5fb99530100c1fbe.zip |
Fixed 212282. Don't allow variable editing if disabled.
-rw-r--r-- | debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java index 77ad1210c96..5a2ad5a2b17 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java @@ -314,7 +314,7 @@ public abstract class CVariable extends AbstractCVariable implements ICDIEventLi */ public boolean supportsValueModification() { try { - return getCurrentInternalVariable().isEditable(); + return fIsEnabled ? getCurrentInternalVariable().isEditable() : false; } catch( DebugException e ) { } |