On Fri, Jun 04, 2010 at 03:24:04PM +0200, [email protected] wrote: > Author: vfr > Date: Fri Jun 4 15:24:03 2010 > New Revision: 34590 > URL: http://www.lyx.org/trac/changeset/34590 > > Log: > Fix bug #6606: Crash when reverting a document with a not available document > class. > > If the document class is not available, we now issue a warning for the user. > This triggers a focusInEvent of the WorkArea and the cursor is issued to > start blinking. However, when reverting a document the cursor is probably > invalid and there has been no chance yet to fix it as we are still reading > the file. > > The solution is to not show the cursor when the view is still busy. > > Modified: > lyx-devel/trunk/src/frontends/qt4/GuiView.cpp > lyx-devel/trunk/src/frontends/qt4/GuiView.h > lyx-devel/trunk/src/frontends/qt4/GuiWorkArea.cpp > > Modified: lyx-devel/trunk/src/frontends/qt4/GuiView.cpp > ============================================================================== > --- lyx-devel/trunk/src/frontends/qt4/GuiView.cpp Thu Jun 3 23:24:20 > 2010 (r34589) > +++ lyx-devel/trunk/src/frontends/qt4/GuiView.cpp Fri Jun 4 15:24:03 > 2010 (r34590) > @@ -1011,8 +1011,15 @@ > } > > > +bool GuiView::busy()
const? Andre'
