mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug 3037
* src/lyxfunc.C (LyXFunc::dispatch): Use default include type if no type is given git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16324 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cd43719f96
commit
b7c3347e9a
@ -1246,6 +1246,11 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
InsetCommandParams p(name);
|
||||
data = InsetCommandMailer::params2string(name, p);
|
||||
} else if (name == "include") {
|
||||
// data is the include type: one of "include",
|
||||
// "input", "verbatiminput" or "verbatiminput*"
|
||||
if (data.empty())
|
||||
// default type is requested
|
||||
data = "include";
|
||||
InsetCommandParams p(data);
|
||||
data = InsetIncludeMailer::params2string(p);
|
||||
} else if (name == "box") {
|
||||
|
Loading…
Reference in New Issue
Block a user