]> git.lyx.org Git - features.git/commit
Fix bug #6606: Crash when reverting a document with a not available document class.
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 4 Jun 2010 13:24:03 +0000 (13:24 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 4 Jun 2010 13:24:03 +0000 (13:24 +0000)
commit8bbd8bc44c2f9c290c09cea3f08371d416312dcd
tree403af537260dd7547e18e42d8f84edf398ce9b1b
parentacbfa354581fad16c264694fca1da4762a18c2d7
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.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34590 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h
src/frontends/qt4/GuiWorkArea.cpp