mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
* 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:
parent
ade492b49c
commit
0b17cb1135
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user