From: Dekel Tsur Date: Wed, 18 Jul 2001 13:26:52 +0000 (+0000) Subject: Add filename to error dialog X-Git-Tag: 1.6.10~21057 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d099ebca84bcac7d0229e28ef39c83e001a28f43;p=features.git Add filename to error dialog git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2269 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 5a8c35dbcf..9192b18092 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-07-18 Dekel Tsur + + * buffer.C (readLyXformat2): Add filename to the error dialog + 2001-07-18 Juergen Vigna * tabular.C (GetCellNumber): put an assert here instead of the check! diff --git a/src/buffer.C b/src/buffer.C index 7c1ff1b406..53893e39d3 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -374,7 +374,8 @@ bool Buffer::readLyXformat2(LyXLex & lex, Paragraph * par) s += tostr(unknown_layouts); s += _(" paragraphs"); } - WriteAlert(_("Textclass Loading Error!"),s); + WriteAlert(_("Textclass Loading Error!"), s, + _("When reading " + fileName())); } return the_end_read;