summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-03 14:43:17 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-03 14:43:17 +0200
commit729bff1563feab8246c499322066ea7b5a1465de (patch)
treeb7e1126c19d28ba62da4578124d2ed586cbe2b68
parented3ea068ac80cc3a9e9a4b07599c82d732320017 (diff)
downloadpdf-over-729bff1563feab8246c499322066ea7b5a1465de.tar.gz
pdf-over-729bff1563feab8246c499322066ea7b5a1465de.tar.bz2
pdf-over-729bff1563feab8246c499322066ea7b5a1465de.zip
hide signature preview for INVISIBLE signature
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
index e36164f9..57ff0496 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
@@ -515,6 +515,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
if (txtSignatureNote.getText().equals(getDefaultSignatureBlockNoteTextFor(oldProfile, null)))
txtSignatureNote.setText(getDefaultSignatureBlockNoteTextFor(newProfile, null));
+ this.grpPreview.setVisible(!Profile.INVISIBLE.equals(newProfile));
signatureBlockPreviewChanged();
}