summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:37:47 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:37:47 +0000
commit058cd361a41cde7d71267e8f0208cdd373dccb43 (patch)
treebfb2383eadf280242db7fa68f99fc479ebb670bf
parent834b83efb6e57e926c2f09be52be59de64a3ad2b (diff)
downloadpdf-over-058cd361a41cde7d71267e8f0208cdd373dccb43.tar.gz
pdf-over-058cd361a41cde7d71267e8f0208cdd373dccb43.tar.bz2
pdf-over-058cd361a41cde7d71267e8f0208cdd373dccb43.zip
Don't set previous sig position when using auto
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@424 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
index dbd70fce..8ba41059 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
@@ -79,7 +79,7 @@ public class PositioningState extends State {
param.getPlaceholderDimension().getWidth(),
param.getPlaceholderDimension().getHeight(),
this.stateMachine.getConfigProvider().getPlaceholderTransparency());
- if (this.previousPosition != null)
+ if (this.previousPosition != null && !this.previousPosition.useAutoPositioning())
this.positionComposite.setPosition(
this.previousPosition.getX(),
this.previousPosition.getY(),