--- gigedit/trunk/src/gigedit/mainwindow.cpp 2019/01/31 19:42:50 3459 +++ gigedit/trunk/src/gigedit/mainwindow.cpp 2019/02/02 07:48:50 3460 @@ -2998,7 +2998,9 @@ bool MainWindow::onQueryTreeViewTooltip(int x, int y, bool keyboardTip, const Glib::RefPtr& tooltip) { Gtk::TreeModel::iterator iter; - m_TreeView.get_tooltip_context_iter(x, y, keyboardTip, iter); + if (!m_TreeView.get_tooltip_context_iter(x, y, keyboardTip, iter)) { + return false; + } Gtk::TreeModel::Path path(iter); Gtk::TreeModel::Row row = *iter; Gtk::TreeViewColumn* pointedColumn = NULL; @@ -3030,12 +3032,12 @@ static Glib::ustring scriptTooltipFor(gig::Instrument* instrument, int index) { Glib::ustring name(gig_to_utf8(instrument->pInfo->Name)); const int iScriptSlots = instrument->ScriptSlotCount(); - Glib::ustring tooltip = "(" + ToString(index) + ") „" + name + "”\n\n"; + Glib::ustring tooltip = "(" + ToString(index) + ") “" + name + "”\n\n"; if (!iScriptSlots) tooltip += "No script assigned"; else { for (int i = 0; i < iScriptSlots; ++i) { - tooltip += "• " + ToString(i+1) + ". Script: „" + + tooltip += "• " + ToString(i+1) + ". Script: “" + instrument->GetScriptOfSlot(i)->Name + "”"; if (i + 1 < iScriptSlots) tooltip += "\n\n"; }