From 6e5d703018424cee3debedd3f2b3f771f8acd8b6 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Tue, 9 Aug 2022 14:42:30 +0200 Subject: hide signature language/note boxes for logo signatures --- .../gui/composites/configuration/SimpleConfigurationComposite.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pdf-over-gui/src/main') 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 5a19c59b..a30b2ee7 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 @@ -517,9 +517,8 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { if (txtSignatureNote.getText().equals(getDefaultSignatureBlockNoteTextFor(oldProfile, null))) txtSignatureNote.setText(getDefaultSignatureBlockNoteTextFor(newProfile, null)); - this.cmbSignatureLang.setEnabled(newProfile.hasText()); - this.txtSignatureNote.setEnabled(newProfile.hasText()); - this.btnSignatureNoteDefault.setEnabled(newProfile.hasText()); + this.grpSignatureLang.setVisible(newProfile.hasText()); + this.grpSignatureNote.setVisible(newProfile.hasText()); this.grpPreview.setVisible(newProfile.isVisibleSignature()); signatureBlockPreviewChanged(); -- cgit v1.2.3