X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLabel.cpp;h=0b671b2c0fd6478ac7eb0967443ae14454587932;hb=f8f5a7b28d4c6fb432055911b81d01505696e66b;hp=823a22fefc297c4899a5bf20b587274e7ee5d29c;hpb=f54ef5c1739f18fe2cdd474a9d0e30a96e506797;p=features.git diff --git a/src/insets/InsetLabel.cpp b/src/insets/InsetLabel.cpp index 823a22fefc..0b671b2c0f 100644 --- a/src/insets/InsetLabel.cpp +++ b/src/insets/InsetLabel.cpp @@ -81,17 +81,16 @@ void InsetLabel::updateCommand(docstring const & new_label, bool updaterefs) buffer().undo().endUndoGroup(); // We need an update of the Buffer reference cache. This is achieved by - // updateLabel(). - lyx::updateLabels(buffer()); + // updateLabels(). + buffer().updateLabels(); } ParamInfo const & InsetLabel::findInfo(string const & /* cmdName */) { static ParamInfo param_info_; - if (param_info_.empty()) { + if (param_info_.empty()) param_info_.add("name", ParamInfo::LATEX_REQUIRED); - } return param_info_; }