summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-ruler.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-07-31 15:48:39 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-07-31 15:48:39 +0000
commitd721b7766b0d39412d332e08bb629f0c5e08e946 (patch)
tree1804a128d7a01580a66ab5615bc80194eecf8ee6 /src/live_effects/lpe-ruler.cpp
parentNew unit parameter for LPEs which lpe-ruler now uses (diff)
downloadinkscape-d721b7766b0d39412d332e08bb629f0c5e08e946.tar.gz
inkscape-d721b7766b0d39412d332e08bb629f0c5e08e946.zip
Remove UI stuff from internal text parameter
(bzr r6488)
Diffstat (limited to 'src/live_effects/lpe-ruler.cpp')
-rw-r--r--src/live_effects/lpe-ruler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-ruler.cpp b/src/live_effects/lpe-ruler.cpp
index 8b457da58..f60c7b9fa 100644
--- a/src/live_effects/lpe-ruler.cpp
+++ b/src/live_effects/lpe-ruler.cpp
@@ -27,7 +27,7 @@ LPERuler::LPERuler(LivePathEffectObject *lpeobject) :
mark_distance(_("Mark distance"), _("Distance between ruler marks"), "mark_distance", &wr, this, 20),
mark_length(_("Mark length"), _("Length of ruler marks"), "mark_length", &wr, this, 10),
scale(_("Scale factor"), _("Scale factor for ruler distance (only affects on-canvas display of ruler length)"), "scale", &wr, this, 1.0),
- info_text(_("Info text"), _("Parameter for text creation"), "info_text", &wr, this, ""),
+ info_text(this),
unit(_("Unit"), _("Unit"), "unit", &wr, this)
{
registerParameter(dynamic_cast<Parameter *>(&mark_distance));