]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlInclude.C
rename LFUN enum values according to their command (as used in th minibuffer/bind...
[lyx.git] / src / frontends / controllers / ControlInclude.C
index 9bbcbffddb76f8af8f207b840f35529f86b48ed4..7e497b9fd55b67fd6cbfd490506cded52abe3ecb 100644 (file)
@@ -101,7 +101,7 @@ void ControlInclude::load(string const & file)
 {
        string const ext = support::getExtension(file);
        if (ext == "lyx")
-               kernel().dispatch(FuncRequest(LFUN_CHILDOPEN, file));
+               kernel().dispatch(FuncRequest(LFUN_BUFFER_CHILD_OPEN, file));
        else
                // tex file or other text file in verbatim mode
                formats.edit(kernel().buffer(), file, "text");