]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBibitem.cpp
InsetCommandParams() now takes an InsetCode rather than a string.
[features.git] / src / insets / InsetBibitem.cpp
index 55806f1781758e02489182e6b09a972a0e084207..21477ec1519d1c4d5d698878848fe06d88bcca0e 100644 (file)
@@ -59,7 +59,7 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd)
        switch (cmd.action) {
 
        case LFUN_INSET_MODIFY: {
-               InsetCommandParams p("bibitem");
+               InsetCommandParams p(BIBITEM_CODE);
                InsetCommandMailer::string2params("bibitem", to_utf8(cmd.argument()), p);
                if (p.getCmdName().empty()) {
                        cur.noUpdate();