fix processing plugins in configbuilder

This commit is contained in:
Milos Kozak 2016-12-11 13:08:20 +01:00
parent 7aaa15dd3b
commit be1ec7f3e3

View file

@ -208,7 +208,6 @@ public class ConfigBuilderFragment extends Fragment implements FragmentBase {
holder.checkboxVisible.setEnabled(false);
}
int type = plugin.getType();
// Force enabled if there is only one plugin
if (type == PluginBase.PUMP || type == PluginBase.TREATMENT || type == PluginBase.TEMPBASAL || type == PluginBase.PROFILE)
if (pluginList.size() < 2)