diff options
| author | Jabiertxof <jtx@jtx> | 2017-04-14 22:20:13 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-04-14 22:20:13 +0000 |
| commit | 3103b99b4cf6c1048c89f75e280761d8cd0ca1c2 (patch) | |
| tree | a79bdf40cb476839681f10c61f51a3c4d860fcbc /src/live_effects/parameter/unit.cpp | |
| parent | Ellipses in Inkscape are defined by the center and the radius, but the (diff) | |
| download | inkscape-3103b99b4cf6c1048c89f75e280761d8cd0ca1c2.tar.gz inkscape-3103b99b4cf6c1048c89f75e280761d8cd0ca1c2.zip | |
Allow set and reset default values of LPE parameters
(bzr r15620.1.1)
Diffstat (limited to 'src/live_effects/parameter/unit.cpp')
| -rw-r--r-- | src/live_effects/parameter/unit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/parameter/unit.cpp b/src/live_effects/parameter/unit.cpp index b6ea99bfe..b78b75dbf 100644 --- a/src/live_effects/parameter/unit.cpp +++ b/src/live_effects/parameter/unit.cpp @@ -55,9 +55,9 @@ UnitParam::param_set_default() } void -UnitParam::param_update_default(const Glib::ustring default_unit) +UnitParam::param_update_default(const gchar * default_unit) { - defunit = unit_table.getUnit(default_unit); + defunit = unit_table.getUnit((Glib::ustring)default_unit); } void |
