Add filename to error dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2269 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-07-18 13:26:52 +00:00
parent 249afbe74a
commit d099ebca84
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-18 Juergen Vigna <jug@sad.it>
* tabular.C (GetCellNumber): put an assert here instead of the check!

View File

@ -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;