]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetInclude.cpp
InsetCommandParams() now takes an InsetCode rather than a string.
[features.git] / src / insets / InsetInclude.cpp
index 38fd582689a7d685e34c88886e0ff6fe72a31ad8..cfd0e6ea78d250cfc601fdc3a06a39b543c81249 100644 (file)
@@ -136,7 +136,7 @@ void InsetInclude::doDispatch(Cursor & cur, FuncRequest & cmd)
        switch (cmd.action) {
 
        case LFUN_INSET_MODIFY: {
-               InsetCommandParams p("include");
+               InsetCommandParams p(INCLUDE_CODE);
                InsetIncludeMailer::string2params(to_utf8(cmd.argument()), p);
                if (!p.getCmdName().empty()) {
                        if (isListings(p)){