summaryrefslogtreecommitdiffstats
path: root/src/extension/param/int.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-12-18 14:50:42 +0000
committerTavmjong Bah <tavmjong@free.fr>2017-12-18 14:50:42 +0000
commit9ceb238f8a4f5527c3621740e75713ea79eceebc (patch)
tree03e36e1ee30ed0b311c3d60db07ab73c42f23c57 /src/extension/param/int.cpp
parentReduce with of +/- buttons. Reduce width of Fill and Stroke dialog. (diff)
downloadinkscape-9ceb238f8a4f5527c3621740e75713ea79eceebc.tar.gz
inkscape-9ceb238f8a4f5527c3621740e75713ea79eceebc.zip
Replace GimpSpinScale by InkSpinScale.
Diffstat (limited to 'src/extension/param/int.cpp')
-rw-r--r--src/extension/param/int.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/extension/param/int.cpp b/src/extension/param/int.cpp
index 357f98590..9ad9b591c 100644
--- a/src/extension/param/int.cpp
+++ b/src/extension/param/int.cpp
@@ -159,7 +159,10 @@ ParamInt::get_widget (SPDocument * doc, Inkscape::XML::Node * node, sigc::signal
if (_mode == FULL) {
- UI::Widget::SpinScale *scale = new UI::Widget::SpinScale(_text, fadjust, 0);
+ Glib::ustring text;
+ if (_text != NULL)
+ text = _text;
+ UI::Widget::SpinScale *scale = new UI::Widget::SpinScale(text, fadjust, 0);
scale->set_size_request(400, -1);
scale->show();
hbox->pack_start(*scale, true, true);