]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetLabel.cpp
InsetCommandParams() now takes an InsetCode rather than a string.
[features.git] / src / insets / InsetLabel.cpp
index 3d8ffa4b97176bb335d16a98dbcce3531bdfba57..3122e9594771e11c6eb33348ffbaaa41b80e1c0a 100644 (file)
@@ -54,7 +54,7 @@ void InsetLabel::doDispatch(Cursor & cur, FuncRequest & cmd)
        switch (cmd.action) {
 
        case LFUN_INSET_MODIFY: {
-               InsetCommandParams p("label");
+               InsetCommandParams p(LABEL_CODE);
                // FIXME UNICODE
                InsetCommandMailer::string2params("label", to_utf8(cmd.argument()), p);
                if (p.getCmdName().empty()) {