From a3df55607151a9896d5ca07627b25e91422aec8a Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Fri, 15 Jul 2022 11:24:15 +0200 Subject: reset to default BKU (instead of none) when cancelling --- .../pdfover/gui/workflow/states/BKUSelectionState.java | 4 +--- pdf-over-signator/pom.xml | 14 +++++++------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java index 5023781a..128ac979 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java @@ -73,9 +73,7 @@ public class BKUSelectionState extends State { (previousState instanceof PositioningState) || (previousState instanceof BKUSelectionState) )) { - status.bku = BKUs.NONE; - } else if(!(status.getPreviousState() instanceof BKUSelectionState)) { - getStateMachine().configProvider.getDefaultBKU(); + status.bku = getStateMachine().configProvider.getDefaultBKU(); } if(status.bku == BKUs.NONE) { diff --git a/pdf-over-signator/pom.xml b/pdf-over-signator/pom.xml index 7a4e1edd..e1b94137 100644 --- a/pdf-over-signator/pom.xml +++ b/pdf-over-signator/pom.xml @@ -26,13 +26,13 @@ metadata-extractor - javax.activation - activation + javax.activation + activation + + + org.glassfish.jaxb + jaxb-runtime + 2.4.0-b180830.0438 - - org.glassfish.jaxb - jaxb-runtime - 2.4.0-b180830.0438 - -- cgit v1.2.3