From c289c2020df7e38c83c388ec670becd83a45c08c Mon Sep 17 00:00:00 2001 From: rkv Date: Mon, 28 Jan 2013 08:36:25 +0000 Subject: [PATCH] Don't change file format when adding it as a new document version. --- .../Siman-Common/src/org/splat/service/StepServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java b/Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java index 6a10e4c..f5d5c40 100644 --- a/Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java +++ b/Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java @@ -381,9 +381,9 @@ public class StepServiceImpl implements StepService { } if (newFormat != null - && previous.getType().equals( + /*&& previous.getType().equals( getProjectSettings().getDefaultDocumentType( - aStep.getStep(), newFormat))) { + aStep.getStep(), newFormat))*/) { dprop.setFormat(newFormat); } -- 2.39.2