Add filename to the error dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@2270 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-07-18 13:31:20 +00:00
parent 56c61c66ea
commit 4b99cdc3c0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (readLyXformat2): Add filename to the error dialog
2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
* src/buffer.C (parseSingleLyXformat2Token): Generate error insets

View File

@ -325,7 +325,8 @@ bool Buffer::readLyXformat2(LyXLex & lex, LyXParagraph * par)
s += tostr(unknown_layouts);
s += _(" paragraphs");
}
WriteAlert(_("Textclass Loading Error!"),s);
WriteAlert(_("Textclass Loading Error!"), s,
_("When reading " + fileName()));
}
return the_end_read;