From 6ae9caf6b2364e98b42b73a6eb4ce3dff93d3917 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 8 Jun 2011 13:07:03 +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/branches/BRANCH_2_0_X@38987 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 2980301776..abcbe30ec8 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.5