summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-09 14:42:30 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-09 14:42:30 +0200
commit6e5d703018424cee3debedd3f2b3f771f8acd8b6 (patch)
tree4ca771344477cabb2e9df8470336120acf0754b1 /pdf-over-gui/src/main/java/at
parent1aa34188c3afda41641059ecab4998bdccc096ec (diff)
downloadpdf-over-6e5d703018424cee3debedd3f2b3f771f8acd8b6.tar.gz
pdf-over-6e5d703018424cee3debedd3f2b3f771f8acd8b6.tar.bz2
pdf-over-6e5d703018424cee3debedd3f2b3f771f8acd8b6.zip
hide signature language/note boxes for logo signatures
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java5
1 files changed, 2 insertions, 3 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 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();