mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
Fix bug #7343 (No warning for missing child documents)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37995 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
125eb6d180
commit
0af83beaa7
@ -511,8 +511,14 @@ int InsetInclude::latex(odocstream & os, OutputParams const & runparams) const
|
||||
isLyXFilename(included_file.absFilename())) {
|
||||
//if it's a LyX file and we're inputting or including,
|
||||
//try to load it so we can write the associated latex
|
||||
if (!loadIfNeeded(buffer()))
|
||||
if (!loadIfNeeded(buffer())) {
|
||||
docstring text = bformat(_("Could not load included "
|
||||
"file\n`%1$s'\n"
|
||||
"Please, check whether it actually exists."),
|
||||
included_file.displayName());
|
||||
Alert::warning(_("Missing included file"), text);
|
||||
return false;
|
||||
}
|
||||
|
||||
Buffer * tmp = theBufferList().getBuffer(included_file);
|
||||
|
||||
|
@ -75,6 +75,8 @@ What's new
|
||||
|
||||
- Fix broken commits in VCS when message contains quotes (bug 7338).
|
||||
|
||||
- Issue a warning when an included file could not be loaded (bug 7343).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user