diff options
| author | Matthew Petroff <matthew@mpetroff.net> | 2013-08-01 23:42:12 +0000 |
|---|---|---|
| committer | Matthew Petroff <matthew@mpetroff.net> | 2013-08-01 23:42:12 +0000 |
| commit | f69ba9fbb46f827a2cb76f2d1f87acbf53edc416 (patch) | |
| tree | 8108d83e00d097ed16e46301d1651c89f6b50825 /src/ui | |
| parent | Fixed Windows compile bug. (diff) | |
| download | inkscape-f69ba9fbb46f827a2cb76f2d1f87acbf53edc416.tar.gz inkscape-f69ba9fbb46f827a2cb76f2d1f87acbf53edc416.zip | |
Fix UnitTracker percentage bug.
(bzr r12380.1.59)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/widget/unit-tracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/unit-tracker.cpp b/src/ui/widget/unit-tracker.cpp index c0d3eec9b..99074be40 100644 --- a/src/ui/widget/unit-tracker.cpp +++ b/src/ui/widget/unit-tracker.cpp @@ -245,7 +245,7 @@ void UnitTracker::_fixupAdjustments(Inkscape::Util::Unit const oldUnit, Inkscape && (newUnit.type != Inkscape::Util::UNIT_TYPE_DIMENSIONLESS) ) { if (_priorValues.find(adj) != _priorValues.end()) { - val = Inkscape::Util::Quantity::convert(_priorValues[adj], newUnit, "px"); + val = Inkscape::Util::Quantity::convert(_priorValues[adj], "px", newUnit); } } else { val = Inkscape::Util::Quantity::convert(oldVal, oldUnit, newUnit); |
