From 729bff1563feab8246c499322066ea7b5a1465de Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Wed, 3 Aug 2022 14:43:17 +0200 Subject: hide signature preview for INVISIBLE signature --- .../gui/composites/configuration/SimpleConfigurationComposite.java | 1 + 1 file changed, 1 insertion(+) (limited to 'pdf-over-gui/src/main/java/at') 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(); } -- cgit v1.2.3