From: Richard Heck Date: Wed, 8 Jun 2011 13:07:03 +0000 (+0000) Subject: Fix bug #7622. We have to show the error list after we set the buffer, X-Git-Tag: 2.0.1~237 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6ae9caf6b2364e98b42b73a6eb4ce3dff93d3917;p=features.git 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 --- 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);