summaryrefslogtreecommitdiffstats
path: root/src/extension/param/notebook.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/param/notebook.cpp')
-rw-r--r--src/extension/param/notebook.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/extension/param/notebook.cpp b/src/extension/param/notebook.cpp
index d65ec3927..99eec7e4b 100644
--- a/src/extension/param/notebook.cpp
+++ b/src/extension/param/notebook.cpp
@@ -209,8 +209,11 @@ Gtk::Widget * ParamNotebookPage::get_widget(SPDocument * doc, Inkscape::XML::Nod
gchar const * tip = param->get_tooltip();
// printf("Tip: '%s'\n", tip);
vbox->pack_start(*widg, false, false, 2);
- if (tip != NULL) {
- widg->set_tooltip_text(Glib::ustring(tip));
+ if (tip) {
+ widg->set_tooltip_text(tip);
+ } else {
+ widg->set_tooltip_text("");
+ widg->set_has_tooltip(false);
}
}