summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-text_label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-text_label.cpp')
-rw-r--r--src/live_effects/lpe-text_label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-text_label.cpp b/src/live_effects/lpe-text_label.cpp
index 709d05e18..0c1db2f04 100644
--- a/src/live_effects/lpe-text_label.cpp
+++ b/src/live_effects/lpe-text_label.cpp
@@ -23,7 +23,7 @@ LPETextLabel::LPETextLabel(LivePathEffectObject *lpeobject) :
Effect(lpeobject),
label(_("Label:"), _("Text label attached to the path"), "label", &wr, this, "This is a label")
{
- registerParameter( dynamic_cast<Parameter *>(&label) );
+ registerParameter(&label);
}
LPETextLabel::~LPETextLabel()