summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-19 17:03:10 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-19 17:03:10 +0100
commit2d807da4f451b0b320c28193fe019680139f6840 (patch)
tree0ed17342b681138936302b1e9c2007894beec99b
parent0428f794d1d53a2b573afa260896eb59f4c3bf01 (diff)
downloadpdf-over-2d807da4f451b0b320c28193fe019680139f6840.tar.gz
pdf-over-2d807da4f451b0b320c28193fe019680139f6840.tar.bz2
pdf-over-2d807da4f451b0b320c28193fe019680139f6840.zip
Adopted UI behaviour
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java2
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
index 8ed1b640..d2dabc5f 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
@@ -940,7 +940,7 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
case AMTSSIGNATURBLOCK:
this.performPositionSelection(true);
this.btnAutomatischePositionierung.setEnabled(false);
- this.btnEnablePlaceholderUsage.setEnabled(true);
+ this.btnEnablePlaceholderUsage.setEnabled(false);
this.performEnableUsePlaceholder(false);
break;
default:
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
index 84078fbf..75482b60 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
@@ -739,7 +739,7 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
this.configurationContainer.setSignatureProfile(selected);
this.cmbSignatureProfiles.select(selected.ordinal());
- if (selected.equals(Profile.AMTSSIGNATURBLOCK)){
+ if (selected.equals(Profile.AMTSSIGNATURBLOCK) || selected.equals(Profile.INVISIBLE)){
this.configurationContainer.setDefaultSignaturePosition(new SignaturePosition());
}