1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Fixed 212282. Don't allow variable editing if disabled.

This commit is contained in:
John Cortell 2007-12-07 17:03:41 +00:00
parent 8d6553b223
commit f1ca140b10

View file

@ -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 ) {
}