summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/unit.cpp')
-rw-r--r--src/live_effects/parameter/unit.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/live_effects/parameter/unit.cpp b/src/live_effects/parameter/unit.cpp
index b9b91c1e6..9199e592d 100644
--- a/src/live_effects/parameter/unit.cpp
+++ b/src/live_effects/parameter/unit.cpp
@@ -48,6 +48,12 @@ UnitParam::param_getSVGValue() const
return g_strdup(unit->abbr.c_str());
}
+gchar *
+UnitParam::param_getDefaultSVGValue() const
+{
+ return g_strdup(defunit->abbr.c_str());
+}
+
void
UnitParam::param_set_default()
{