summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java
index 5725bf6e..76efb41f 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java
@@ -217,7 +217,7 @@ public class OutputComposite extends StateComposite {
* If not (or if directory unavailable), ask user for location.
*/
public void saveDocument() {
- File inputFolder = getInputFile().getParentFile();
+ File inputFolder = getInputFile().getAbsoluteFile().getParentFile();
String fileName = getInputFile().getName();
String proposedName = getSignedFileName(fileName);
String outputFileName;