* ExternalSupport.cpp:

- do not popup invalid path warning with View Source (bug 6904).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-09-19 16:30:17 +00:00
parent ade492b49c
commit 0b17cb1135

View File

@ -363,10 +363,10 @@ int writeExternal(InsetExternalParams const & params,
string const absname = makeAbsPath(
params.filename.outputFileName(buffer.filePath()), buffer.filePath()).absFileName();
if (!external_in_tmpdir && !isValidLaTeXFileName(absname)) {
if (!dryrun && !external_in_tmpdir && !isValidLaTeXFileName(absname)) {
lyx::frontend::Alert::warning(_("Invalid filename"),
_("The following filename is likely to cause trouble "
"when running the exported file through LaTeX: ") +
"when running the exported file through LaTeX: ") +
from_utf8(absname));
}