mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
make sure the preselected encryption key can encrypt, otherwise deselect it again at display time
This commit is contained in:
parent
7b219c5f72
commit
ce1120b66e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user