From: Richard Heck Date: Wed, 8 Jun 2011 13:04:30 +0000 (+0000) Subject: Fix bug #7622. We have to show the error list after we set the buffer, X-Git-Tag: 2.1.0beta1~3091 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=390990af6df2dbe519836e144b4a1566d04244e0;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/trunk@38985 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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);