Author: rgheck
Date: Wed Jun  8 15:04:30 2011
New Revision: 38985
URL: http://www.lyx.org/trac/changeset/38985

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/trunk/src/frontends/qt4/GuiView.cpp

Modified: lyx-devel/trunk/src/frontends/qt4/GuiView.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiView.cpp       Wed Jun  8 14:51:24 
2011        (r38984)
+++ lyx-devel/trunk/src/frontends/qt4/GuiView.cpp       Wed Jun  8 15:04:30 
2011        (r38985)
@@ -1895,8 +1895,8 @@
                return 0;
        }
 
-       newBuffer->errors("Parse");
        setBuffer(newBuffer);
+       newBuffer->errors("Parse");
 
        if (tolastfiles)
                theSession().lastFiles().add(filename);

Reply via email to