]> git.lyx.org Git - features.git/commitdiff
Add filename to error dialog
authorDekel Tsur <dekelts@tau.ac.il>
Wed, 18 Jul 2001 13:26:52 +0000 (13:26 +0000)
committerDekel Tsur <dekelts@tau.ac.il>
Wed, 18 Jul 2001 13:26:52 +0000 (13:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2269 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/buffer.C

index 5a8c35dbcf52421c9b7d34accb0af81a5ac67288..9192b18092ef2e52631aed0ce7f1b2bd80b032c5 100644 (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!
index 7c1ff1b4063a5ca9fccb941a1593ce775041bee9..53893e39d3924b5aff3e3f9972401d983a921a77 100644 (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;