mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
avoid disabling public key field when user provided key is used
This commit is contained in:
parent
f003b6d732
commit
5475a81e3a
2 changed files with 2 additions and 2 deletions
2
drongo
2
drongo
|
@ -1 +1 @@
|
||||||
Subproject commit c8165e154a4088262cdf9428f8f8a6ef95db5140
|
Subproject commit d0afa0987021284f11c45a51ffccbf7cb6d13ca2
|
|
@ -283,7 +283,7 @@ public class DownloadVerifierDialog extends Dialog<ButtonBar.ButtonData> {
|
||||||
signedBy.setText(message);
|
signedBy.setText(message);
|
||||||
signedBy.setGraphic(result.expired() ? GlyphUtils.getWarningGlyph() : GlyphUtils.getSuccessGlyph());
|
signedBy.setGraphic(result.expired() ? GlyphUtils.getWarningGlyph() : GlyphUtils.getSuccessGlyph());
|
||||||
|
|
||||||
if(!result.expired()) {
|
if(!result.expired() && !result.userProvidedKey()) {
|
||||||
publicKeyDisabled.set(true);
|
publicKeyDisabled.set(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue