diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-12-18 14:50:42 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2017-12-18 14:50:42 +0000 |
| commit | 9ceb238f8a4f5527c3621740e75713ea79eceebc (patch) | |
| tree | 03e36e1ee30ed0b311c3d60db07ab73c42f23c57 /src/extension/param/int.cpp | |
| parent | Reduce with of +/- buttons. Reduce width of Fill and Stroke dialog. (diff) | |
| download | inkscape-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.cpp | 5 |
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); |
