diff --git a/tools/cooja/java/org/contikios/cooja/plugins/VariableWatcher.java b/tools/cooja/java/org/contikios/cooja/plugins/VariableWatcher.java index f7a64c747..cc91663d7 100644 --- a/tools/cooja/java/org/contikios/cooja/plugins/VariableWatcher.java +++ b/tools/cooja/java/org/contikios/cooja/plugins/VariableWatcher.java @@ -483,6 +483,8 @@ public class VariableWatcher extends VisPlugin implements MotePlugin { varAddrCheckBox.setEnabled(true); readButton.setEnabled(true); writeButton.setEnabled(true); + varAddressField.setEnabled(true); + varSizeField.setEnabled(true); if (!varAddrCheckBox.isSelected()) { varNameCombo.setEnabled(true); } @@ -523,6 +525,8 @@ public class VariableWatcher extends VisPlugin implements MotePlugin { varAddrCheckBox.setEnabled(false); readButton.setEnabled(false); writeButton.setEnabled(false); + varAddressField.setEnabled(false); + varSizeField.setEnabled(false); varNameCombo.setEnabled(false); } });