From a4814166b55d44c62c2597657e0698c228f04139 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Tue, 6 Sep 2011 11:25:56 +0000 Subject: [PATCH] SDK: - select correct android target after target list has been updated using android tool git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8204 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/com/jme3/gde/android/MobileCustomizerPanel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/jme3-android/src/com/jme3/gde/android/MobileCustomizerPanel.java b/sdk/jme3-android/src/com/jme3/gde/android/MobileCustomizerPanel.java index 82076f770..f0a196d67 100644 --- a/sdk/jme3-android/src/com/jme3/gde/android/MobileCustomizerPanel.java +++ b/sdk/jme3-android/src/com/jme3/gde/android/MobileCustomizerPanel.java @@ -40,6 +40,9 @@ public class MobileCustomizerPanel extends javax.swing.JPanel implements ActionL AndroidTarget androidTarget = it.next(); jComboBox1.addItem(androidTarget); } + if (properties.getProperty("mobile.android.target") != null) { + setSelected(properties.getProperty("mobile.android.target")); + } } private void loadProperties() {