ADT/GEL: Reenable config popup when switching from a device with only 1 config

Change-Id: I7f60270ffbcaae420f4da245ff3d9b271885fa37
BUG: 2218975
This commit is contained in:
Xavier Ducrohet
2009-10-26 13:55:27 -07:00
parent e7ff49b82d
commit d5f6e05716

View File

@@ -628,10 +628,7 @@ public class ConfigurationComposite extends Composite {
} }
mDeviceConfigs.select(0); mDeviceConfigs.select(0);
if (configNames.size() == 1) { mDeviceConfigs.setEnabled(configNames.size() > 1);
mDeviceConfigs.setEnabled(false);
}
} }
if (recomputeLayout) { if (recomputeLayout) {
onDeviceConfigChange(); onDeviceConfigChange();