]> git.lyx.org Git - features.git/commit
Fix another crash due to BufferView::last_inset_ being an invalid pointer.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 May 2010 23:01:47 +0000 (23:01 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 May 2010 23:01:47 +0000 (23:01 +0000)
commit351808718d3e8bb97487c0d98d0a416d2f265bf0
treef927bdf86d449aa2eab001161226806170d624aa
parent49920e31d6d67f4308493dd3dee27da5b732c27f
Fix another crash due to BufferView::last_inset_ being an invalid pointer.

Do not clear the mouse_hover state from anywhere else then BufferView, such that the last_inset_ pointer gets nulled. Besides, there is no reason to clear the mouse_hover state on collapsing the Inset.

See also r33908, r34117, r34348, r34353, r34354 and bug #3900.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34364 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/InsetCollapsable.cpp