diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-10-08 00:30:57 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-10-08 00:30:57 +0000 |
| commit | bf899f7b2615bc40094815c81f7a127a42822f8e (patch) | |
| tree | 8b30db7baf42c2051c1de654779dcb3082cbe39a /src/live_effects/parameter/unit.cpp | |
| parent | Doc rotate start (diff) | |
| parent | Fix bug:1622321 on powerstroke (diff) | |
| download | inkscape-bf899f7b2615bc40094815c81f7a127a42822f8e.tar.gz inkscape-bf899f7b2615bc40094815c81f7a127a42822f8e.zip | |
Update to trunk
(bzr r15142.1.2)
Diffstat (limited to 'src/live_effects/parameter/unit.cpp')
| -rw-r--r-- | src/live_effects/parameter/unit.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/live_effects/parameter/unit.cpp b/src/live_effects/parameter/unit.cpp index 0ee553e2c..b6ea99bfe 100644 --- a/src/live_effects/parameter/unit.cpp +++ b/src/live_effects/parameter/unit.cpp @@ -54,6 +54,12 @@ UnitParam::param_set_default() param_set_value(*defunit); } +void +UnitParam::param_update_default(const Glib::ustring default_unit) +{ + defunit = unit_table.getUnit(default_unit); +} + void UnitParam::param_set_value(Inkscape::Util::Unit const &val) { |
