summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/bool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/bool.cpp')
-rw-r--r--src/live_effects/parameter/bool.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/live_effects/parameter/bool.cpp b/src/live_effects/parameter/bool.cpp
index f291a8104..1a01f269b 100644
--- a/src/live_effects/parameter/bool.cpp
+++ b/src/live_effects/parameter/bool.cpp
@@ -61,6 +61,13 @@ BoolParam::param_getSVGValue() const
return str;
}
+gchar *
+BoolParam::param_getDefaultSVGValue() const
+{
+ gchar * str = g_strdup(defvalue ? "true" : "false");
+ return str;
+}
+
Gtk::Widget *
BoolParam::param_newWidget()
{