[yocto] [RFC 04/17] plugins/sdk.ide: Set value of target array on input change
Timo Mueller
mail at timomueller.eu
Thu Jan 24 07:12:28 PST 2013
From: Atanas Gegov <atanas.gegov at bmw-carit.de>
The value of the target array set in the constructor is now also
affected when the input of the element is changed.
Signed-off-by: Timo Mueller <timo.mueller at bmw-carit.de>
---
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
index d615956..32f9fa1 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
@@ -304,6 +304,8 @@ public class YoctoUISetting {
}
public void setCurrentInput(YoctoUIElement elem){
+ elem.setStrTargetsArray(getTargetArray(elem));
+
btnSDKRoot.setSelection(false);
btnPokyRoot.setSelection(false);
if(elem.getEnumPokyMode().equals(YoctoUIElement.PokyMode.POKY_SDK_MODE)){
--
1.7.11.7
More information about the yocto
mailing list