]> git.lyx.org Git - features.git/commitdiff
Fix bug #7622. We have to show the error list after we set the buffer,
authorRichard Heck <rgheck@comcast.net>
Wed, 8 Jun 2011 13:07:03 +0000 (13:07 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 8 Jun 2011 13:07:03 +0000 (13:07 +0000)
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

index 298030177696a40d750559dc0dbabfee57af91ca..abcbe30ec8530f79d3a2044fe41e710b203eef55 100644 (file)
@@ -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);