]> git.lyx.org Git - features.git/blobdiff - src/LyXFunc.cpp
InsetInclude becomes an InsetCommand.
[features.git] / src / LyXFunc.cpp
index 247136330ddfabdd8f64cb8cac172e0f17937863..541113b58994271af250c703381a4ee51650f900 100644 (file)
@@ -1434,7 +1434,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                                        // default type is requested
                                        data = "include";
                                InsetCommandParams p(INCLUDE_CODE, data);
-                               data = InsetIncludeMailer::params2string(p);
+                               data = InsetCommandMailer::params2string("include", p);
                                break;
                        } 
                        case BOX_CODE: {