mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
fix disable editing for subkey keys
This commit is contained in:
parent
7e634a9930
commit
c07be572c2
@ -256,7 +256,7 @@ public class EditKeyActivity extends SherlockFragmentActivity {
|
|||||||
// get master key id using row id
|
// get master key id using row id
|
||||||
long masterKeyId = ProviderHelper.getSecretMasterKeyId(this, keyRingRowId);
|
long masterKeyId = ProviderHelper.getSecretMasterKeyId(this, keyRingRowId);
|
||||||
|
|
||||||
boolean masterCanSign = ProviderHelper.getSecretMasterKeyCanSign(this, keyRingRowId);
|
masterCanSign = ProviderHelper.getSecretMasterKeyCanSign(this, keyRingRowId);
|
||||||
|
|
||||||
String passphrase = PassphraseCacheService.getCachedPassphrase(this, masterKeyId);
|
String passphrase = PassphraseCacheService.getCachedPassphrase(this, masterKeyId);
|
||||||
if (passphrase == null) {
|
if (passphrase == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user