]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiInclude.cpp
Fix bug #6997
[lyx.git] / src / frontends / qt4 / GuiInclude.cpp
index 32c8f097a0b2c3aaa9530b8cd5e223ba3d08449f..266fa25f91d5d698c7e6bf79bbd9c02175572e46 100644 (file)
@@ -335,7 +335,7 @@ QString GuiInclude::browse(QString const & in_name, Type in_type) const
 
 bool GuiInclude::initialiseParams(std::string const & data)
 {
-       InsetCommand::string2params("include", data, params_);
+       InsetCommand::string2params(data, params_);
        paramsToDialog(params_);
        return true;
 }
@@ -343,7 +343,7 @@ bool GuiInclude::initialiseParams(std::string const & data)
 
 void GuiInclude::dispatchParams()
 {
-       std::string const lfun = InsetCommand::params2string("include", params_);
+       std::string const lfun = InsetCommand::params2string(params_);
        dispatch(FuncRequest(getLfun(), lfun));
 }