summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-08 11:19:34 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-08 11:19:34 +0200
commitc9f6b0b97887eb12a0fd70aa91d91702efbac74e (patch)
tree84368c87dd806781d212b7891f2913491a0058f7 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow
parent0199d4dad04d8c0e1e8c531435bbd24956338824 (diff)
downloadpdf-over-c9f6b0b97887eb12a0fd70aa91d91702efbac74e.tar.gz
pdf-over-c9f6b0b97887eb12a0fd70aa91d91702efbac74e.tar.bz2
pdf-over-c9f6b0b97887eb12a0fd70aa91d91702efbac74e.zip
typo fix
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java2
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java6
2 files changed, 3 insertions, 5 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
index 7d29d22b..f814bd85 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
@@ -111,7 +111,7 @@ public class PositioningState extends State {
Emblem emblem = new Emblem(config.getDefaultEmblemPath());
param.emblem = emblem;
- if(config.getSignatureNote() != null && !config.getSignatureNote().isEmpty())
+ if (config.getSignatureNote() != null && !config.getSignatureNote().isEmpty())
param.signatureNote = config.getSignatureNote();
param.signatureLanguage = config.getSignatureLocale().getLanguage();
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
index b0cfa71e..3ab3fcf8 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
@@ -138,10 +138,8 @@ public class PrepareSigningState extends State {
this.state.signatureParameter.emblem = new Emblem(configuration.getDefaultEmblemPath());
}
- if (configuration.getSignatureNote() != null
- && !configuration.getSignatureNote().isEmpty()) {
- this.state.signatureParameter.setProperty(
- "SIG_NOTE", configuration.getSignatureNote());
+ if (configuration.getSignatureNote() != null && !configuration.getSignatureNote().isEmpty()) {
+ this.state.signatureParameter.signatureNote = configuration.getSignatureNote();
}
this.state.signatureParameter.searchForPlaceholderSignatures = getStateMachine().status.searchForPlacehoderSignature;