summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java4
-rw-r--r--pdf-over-signator/pom.xml14
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 @@
<artifactId>metadata-extractor</artifactId>
</dependency>
<dependency>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jaxb</groupId>
+ <artifactId>jaxb-runtime</artifactId>
+ <version>2.4.0-b180830.0438</version>
</dependency>
- <dependency>
- <groupId>org.glassfish.jaxb</groupId>
- <artifactId>jaxb-runtime</artifactId>
- <version>2.4.0-b180830.0438</version>
- </dependency>
</dependencies>
</project>