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:
parent
8d6553b223
commit
f1ca140b10
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue