From 804642c5fcb34fb9c380b99376e3effb91e256b1 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Wed, 17 Sep 2014 16:06:23 +0200 Subject: [PATCH] Fixed bug causing some plugin settings having checkbox when they shouldn't and viceversa. --- .../kde/kdeconnect/UserInterface/PreferenceListAdapter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/kde/kdeconnect/UserInterface/PreferenceListAdapter.java b/src/main/java/org/kde/kdeconnect/UserInterface/PreferenceListAdapter.java index 4a8c932e..06006280 100644 --- a/src/main/java/org/kde/kdeconnect/UserInterface/PreferenceListAdapter.java +++ b/src/main/java/org/kde/kdeconnect/UserInterface/PreferenceListAdapter.java @@ -21,7 +21,8 @@ public class PreferenceListAdapter extends ArrayAdapter { @Override public View getView(int position, View convertView, ViewGroup parent) { Preference preference = localList.get(position); - return preference.getView(convertView, parent); + //We can not reuse the convertView as some views have checkboxes and other don't + return preference.getView(null, parent); } }