]> git.lyx.org Git - features.git/commit
With or without multiview, a crash can happen randomly if the statusbar timer times...
authorAbdelrazak Younes <younes@lyx.org>
Tue, 17 Jul 2007 09:21:52 +0000 (09:21 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 17 Jul 2007 09:21:52 +0000 (09:21 +0000)
commitd3b4961e16e4ea631bde01ac03d040a375d70467
tree971a5879d7ac8b86a78916f2db7cc7985d5988fb
parent4863cfdf784461ba035abc2978a42fc1638883cd
With or without multiview, a crash can happen randomly if the statusbar timer times out after the view is closed. Two reason for that:
1) LyXFunc::lyx_view_ is not set to 0
2) quiting is not set to true.

This patch add safe guards when closing a view and/or exiting.

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