make sure the preselected encryption key can encrypt, otherwise deselect it again at display time
This commit is contained in:
@@ -207,6 +207,10 @@ public class SelectPublicKeyListAdapter extends BaseAdapter {
|
||||
|
||||
CheckBox selected = (CheckBox) view.findViewById(R.id.selected);
|
||||
|
||||
if (!enabled) {
|
||||
mParent.setItemChecked(position, false);
|
||||
}
|
||||
|
||||
selected.setChecked(mParent.isItemChecked(position));
|
||||
|
||||
view.setEnabled(enabled);
|
||||
|
||||
Reference in New Issue
Block a user