QString const docpath = toqstr(support::onlyPath(buffer().absFileName()));
- return browseRelFile(in_name, docpath, title, filters, false,
+ return browseRelToParent(in_name, docpath, title, filters, false,
qt_("Documents|#o#O"), toqstr(lyxrc.document_path));
}
bool GuiInclude::initialiseParams(std::string const & data)
{
- InsetCommand::string2params("include", data, params_);
+ InsetCommand::string2params(data, params_);
paramsToDialog(params_);
return true;
}
void GuiInclude::dispatchParams()
{
- std::string const lfun = InsetCommand::params2string("include", params_);
+ std::string const lfun = InsetCommand::params2string(params_);
dispatch(FuncRequest(getLfun(), lfun));
}