]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetLabel.cpp
* src/insets/InsetLabel.[cpp,h}:
[features.git] / src / insets / InsetLabel.cpp
index 0158361ab8b1774fc25fa5d5165456b91b601b7b..96212d4b9f3f46ba299cabcba28b7527d243184b 100644 (file)
@@ -45,11 +45,11 @@ InsetLabel::InsetLabel(InsetCommandParams const & p)
 
 void InsetLabel::initView()
 {
-       update(getParam("name"));
+       updateCommand(getParam("name"));
 }
 
 
-void InsetLabel::update(docstring const & new_label, bool updaterefs)
+void InsetLabel::updateCommand(docstring const & new_label, bool updaterefs)
 {
        docstring const old_label = getParam("name");
        docstring label = new_label;
@@ -148,7 +148,7 @@ void InsetLabel::doDispatch(Cursor & cur, FuncRequest & cmd)
                        cur.noUpdate();
                        break;
                }
-               update(p["name"]);
+               updateCommand(p["name"]);
                break;
        }