Author: rgheck
Date: Wed Jun  8 15:07:03 2011
New Revision: 38987
URL: http://www.lyx.org/trac/changeset/38987

Log:
Fix bug #7622. We have to show the error list after we set the buffer,
because that is what creates the GuiDelegate.

Modified:
   lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiView.cpp

Modified: lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiView.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiView.cpp       Wed Jun 
 8 15:05:39 2011        (r38986)
+++ lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiView.cpp       Wed Jun 
 8 15:07:03 2011        (r38987)
@@ -1895,8 +1895,8 @@
                return 0;
        }
 
-       newBuffer->errors("Parse");
        setBuffer(newBuffer);
+       newBuffer->errors("Parse");
 
        if (tolastfiles)
                theSession().lastFiles().add(filename);

Reply via email to