summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/document-properties.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-09-19 00:07:09 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-09-19 00:07:09 +0000
commit274a671c959becc8c989dc6a3561c608c173f6d3 (patch)
tree1ab36b51da49862d28ebebb8ed0db985735f6f5b /src/ui/dialog/document-properties.cpp
parentupdate to trunk (r13540) (diff)
parentFix build for fink on OS X 10.9 by including unistd.h (diff)
downloadinkscape-274a671c959becc8c989dc6a3561c608c173f6d3.tar.gz
inkscape-274a671c959becc8c989dc6a3561c608c173f6d3.zip
update to trunk (r13560)
(bzr r13398.1.10)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
-rw-r--r--src/ui/dialog/document-properties.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp
index 2757a0ec9..1f220b246 100644
--- a/src/ui/dialog/document-properties.cpp
+++ b/src/ui/dialog/document-properties.cpp
@@ -1747,7 +1747,8 @@ void DocumentProperties::onDocUnitChange()
doc->getRoot()->scaleChildItemsRec(Geom::Scale(scale), Geom::Point(-viewscale*doc->getRoot()->viewBox.min()[Geom::X] +
(doc->getWidth().value("px") - viewscale*doc->getRoot()->viewBox.width())/2,
viewscale*doc->getRoot()->viewBox.min()[Geom::Y] +
- (doc->getHeight().value("px") + viewscale*doc->getRoot()->viewBox.height())/2));
+ (doc->getHeight().value("px") + viewscale*doc->getRoot()->viewBox.height())/2),
+ false);
ShapeEditor::blockSetItem(false);
}
prefs->setBool("/options/transform/stroke", transform_stroke);