avoid disabling public key field when user provided key is used

This commit is contained in:
Craig Raw 2024-03-06 12:31:08 +02:00
parent f003b6d732
commit 5475a81e3a
2 changed files with 2 additions and 2 deletions

2
drongo

@ -1 +1 @@
Subproject commit c8165e154a4088262cdf9428f8f8a6ef95db5140
Subproject commit d0afa0987021284f11c45a51ffccbf7cb6d13ca2

View file

@ -283,7 +283,7 @@ public class DownloadVerifierDialog extends Dialog<ButtonBar.ButtonData> {
signedBy.setText(message);
signedBy.setGraphic(result.expired() ? GlyphUtils.getWarningGlyph() : GlyphUtils.getSuccessGlyph());
if(!result.expired()) {
if(!result.expired() && !result.userProvidedKey()) {
publicKeyDisabled.set(true);
}