summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-10-10 13:12:01 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-10-10 13:12:01 +0000
commita604aeff6c0b3de01d4322a99d6681f76b46ddf5 (patch)
tree3575123e91c0db8179aceba44990d07bfc7ef721 /pdf-over-gui
parent8f26bb3a70be9a88349075a7f244c2e98cbfc9bc (diff)
downloadpdf-over-a604aeff6c0b3de01d4322a99d6681f76b46ddf5.tar.gz
pdf-over-a604aeff6c0b3de01d4322a99d6681f76b46ddf5.tar.bz2
pdf-over-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')
-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;