From d099ebca84bcac7d0229e28ef39c83e001a28f43 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Wed, 18 Jul 2001 13:26:52 +0000 Subject: [PATCH] Add filename to error dialog git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2269 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/buffer.C | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.39.2