diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-11-26 19:23:03 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-11-26 19:23:03 +0000 |
| commit | 970401eaa2de197733cadc350848dc5cd4c007a5 (patch) | |
| tree | f4ce4c0ae3730b07fb0edb8c5e4df3abfd798511 /src/document.cpp | |
| parent | Dutch translation update (diff) | |
| download | inkscape-970401eaa2de197733cadc350848dc5cd4c007a5.tar.gz inkscape-970401eaa2de197733cadc350848dc5cd4c007a5.zip | |
Change default display unit to 'px'.
(bzr r13773)
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp index 2625ef8fc..84ec1eda3 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -599,7 +599,7 @@ SPDocument *SPDocument::doUnref() Inkscape::Util::Unit const* SPDocument::getDefaultUnit() const { SPNamedView const* nv = sp_document_namedview(this, NULL); - return nv ? nv->getDefaultUnit() : unit_table.getUnit("pt"); + return nv ? nv->getDefaultUnit() : unit_table.getUnit("px"); } /// guaranteed not to return nullptr |
