From 390990af6df2dbe519836e144b4a1566d04244e0 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 8 Jun 2011 13:04:30 +0000 Subject: [PATCH] Fix bug #7622. We have to show the error list after we set the buffer, because that is what creates the GuiDelegate. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38985 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 90ed2fbe36..3cfc5879c6 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -1895,8 +1895,8 @@ Buffer * GuiView::loadDocument(FileName const & filename, bool tolastfiles) return 0; } - newBuffer->errors("Parse"); setBuffer(newBuffer); + newBuffer->errors("Parse"); if (tolastfiles) theSession().lastFiles().add(filename); -- 2.39.2