summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);