From bf2617848f1d0791d3300718128e6f722d775989 Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Tue, 18 Feb 2020 12:41:12 +0100 Subject: placeholder search --- .../asit/pdfover/gui/composites/AdvancedConfigurationComposite.java | 1 + .../java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java | 4 +--- 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); -- cgit v1.2.3