aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/aicp/device/PanelSettings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/aicp/device/PanelSettings.java b/src/com/aicp/device/PanelSettings.java
index 613d65e..3a9b698 100644
--- a/src/com/aicp/device/PanelSettings.java
+++ b/src/com/aicp/device/PanelSettings.java
@@ -186,9 +186,9 @@ public class PanelSettings extends PreferenceFragment implements RadioGroup.OnCh
private void updateRadioButtonState(RadioButton button, boolean isSupported) {
if (isSupported) {
- button.setEnabled(true);
+ button.setVisibility(View.VISIBLE);
} else {
- button.setEnabled(false);
+ button.setVisibility(View.GONE);
}
}
}