diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-10-10 13:12:01 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-10-10 13:12:01 +0000 |
commit | a604aeff6c0b3de01d4322a99d6681f76b46ddf5 (patch) | |
tree | 3575123e91c0db8179aceba44990d07bfc7ef721 /pdf-over-gui/src/main/java | |
parent | 8f26bb3a70be9a88349075a7f244c2e98cbfc9bc (diff) | |
download | mocca-a604aeff6c0b3de01d4322a99d6681f76b46ddf5.tar.gz mocca-a604aeff6c0b3de01d4322a99d6681f76b46ddf5.tar.bz2 mocca-a604aeff6c0b3de01d4322a99d6681f76b46ddf5.zip |
Get correct input folder for relative filenames
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@477 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java | 2 |
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; |