summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/document-properties.cpp
diff options
context:
space:
mode:
authorMatthew Petroff <matthew@mpetroff.net>2013-07-09 20:42:04 +0000
committerMatthew Petroff <matthew@mpetroff.net>2013-07-09 20:42:04 +0000
commit9dc7b786c9ef31060012ea4ae13a8188548b4f62 (patch)
treef8b063fe5b6da450ba252f2275aa342e2627b420 /src/ui/dialog/document-properties.cpp
parentSwitch setWidth and setHeight to use Quantity and switch to forward declarati... (diff)
downloadinkscape-9dc7b786c9ef31060012ea4ae13a8188548b4f62.tar.gz
inkscape-9dc7b786c9ef31060012ea4ae13a8188548b4f62.zip
Ported sp-namedview.cpp (todo: fix a bunch of things).
(bzr r12380.1.8)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
-rw-r--r--src/ui/dialog/document-properties.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp
index d335fb303..af462a1df 100644
--- a/src/ui/dialog/document-properties.cpp
+++ b/src/ui/dialog/document-properties.cpp
@@ -1431,8 +1431,8 @@ void DocumentProperties::update()
_rcp_bord.setRgba32 (nv->bordercolor);
_rcb_shad.setActive (nv->showpageshadow);
- if (nv->doc_units)
- _rum_deflt.setUnit (nv->doc_units);
+ //if (nv->doc_units)
+ // _rum_deflt.setUnit (nv->doc_units);
double const doc_w_px = sp_desktop_document(dt)->getWidth();
double const doc_h_px = sp_desktop_document(dt)->getHeight();