From 4b99cdc3c034ba29f83900f63d1ce807d9e0f630 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Wed, 18 Jul 2001 13:31:20 +0000 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ src/buffer.C | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ab470b5e93..8f31c44bb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-07-18 Dekel Tsur + + * buffer.C (readLyXformat2): Add filename to the error dialog + 2001-07-16 Dekel Tsur * src/buffer.C (parseSingleLyXformat2Token): Generate error insets diff --git a/src/buffer.C b/src/buffer.C index fd3457c277..cce1b785ff 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -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;