case LFUN_INSET_MODIFY:
string2params(to_utf8(cmd.argument()), params_);
setButtonLabel();
+ // what we really want here is a TOC update, but that means
+ // a full buffer update
+ cur.forceBufferUpdate();
break;
case LFUN_INSET_DIALOG_UPDATE:
docstring str;
str = notetranslator_loc().find(params_.type) + from_ascii(": ")
+ text().getPar(0).asString();
- toc.push_back(TocItem(pit, 0, str));
+ toc.push_back(TocItem(pit, 0, str, toolTipText()));
// Proceed with the rest of the inset.
InsetCollapsable::addToToc(cpit);
}