summaryrefslogtreecommitdiff
path: root/pdf-over-gui
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
parent0199d4dad04d8c0e1e8c531435bbd24956338824 (diff)
downloadpdf-over-c9f6b0b97887eb12a0fd70aa91d91702efbac74e.tar.gz
pdf-over-c9f6b0b97887eb12a0fd70aa91d91702efbac74e.tar.bz2
pdf-over-c9f6b0b97887eb12a0fd70aa91d91702efbac74e.zip
typo fix
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java1
-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
3 files changed, 3 insertions, 6 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java
index 2525d3ba..88ee12c4 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java
@@ -33,7 +33,6 @@ import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.program.Program;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Link;
import org.slf4j.Logger;
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;