diff options
author | Xavier Ducrohet <xav@android.com> | 2009-10-26 13:55:27 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2009-10-26 13:55:27 -0700 |
commit | 5be31305634543cc415ae5d6847f5a4b723a0b69 (patch) | |
tree | 7dd1b56ba1184e8ff2438b053806910752a695ce /eclipse | |
parent | 7755123fcfe7ac4752263249641ce68e7d597ecb (diff) | |
download | sdk-5be31305634543cc415ae5d6847f5a4b723a0b69.zip sdk-5be31305634543cc415ae5d6847f5a4b723a0b69.tar.gz sdk-5be31305634543cc415ae5d6847f5a4b723a0b69.tar.bz2 |
ADT/GEL: Reenable config popup when switching from a device with only 1 config
Change-Id: I7f60270ffbcaae420f4da245ff3d9b271885fa37
BUG: 2218975
Diffstat (limited to 'eclipse')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java index b6f9a09..1178449 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java @@ -628,10 +628,7 @@ public class ConfigurationComposite extends Composite { } mDeviceConfigs.select(0); - if (configNames.size() == 1) { - mDeviceConfigs.setEnabled(false); - } - + mDeviceConfigs.setEnabled(configNames.size() > 1); } if (recomputeLayout) { onDeviceConfigChange(); |