summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2020-02-18 12:41:12 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2020-02-18 12:41:12 +0100
commitbf2617848f1d0791d3300718128e6f722d775989 (patch)
tree733ff55a2207188d28a997e673380c4986611d55 /pdf-over-gui/src/main/java/at/asit
parent1d599dd166e3a00ddaa1c7b8ffa9c296289942e2 (diff)
downloadpdf-over-bf2617848f1d0791d3300718128e6f722d775989.tar.gz
pdf-over-bf2617848f1d0791d3300718128e6f722d775989.tar.bz2
pdf-over-bf2617848f1d0791d3300718128e6f722d775989.zip
placeholder search
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java1
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java4
2 files changed, 2 insertions, 3 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 e79964fc..f9bd68c6 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
@@ -84,6 +84,7 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
Button btnPdfACompat;
Button btnPlatzhalterVerwenden;
Button btnSignatureFieldsUsage;
+ Button btnEnablePlaceholderUsage;
private Label lblTransparenz;
private Label lblTransparenzLinks;
private Label lblTransparenzRechts;
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java
index 56e79935..010e51ad 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java
@@ -137,9 +137,7 @@ public class ConfigProviderImpl implements ConfigProvider, ConfigManipulator,
setUseMarker(useMarker.equalsIgnoreCase(Constants.TRUE));
String useSignatureFields = config.getProperty(Constants.CFG_USE_SIGNATURE_FIELDS);
- if (useSignatureFields == null) {
- config.setProperty(Constants.CFG_USE_SIGNATURE_FIELDS, "");
- } else {
+ if (useSignatureFields != null) {
setUseSignatureFields(useSignatureFields.equalsIgnoreCase(Constants.TRUE));
}
String compat = config.getProperty(Constants.CFG_SIGNATURE_PDFA_COMPAT);