]> 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>
Sun, 2 May 2010 19:12:25 +0000 (19:12 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 2 May 2010 19:12:25 +0000 (19:12 +0000)
commit750620765f8236b541ec9a3b02152d97c15599c6
treef94535a35a5e82b749584b24f8509b5e3f882137
parent9c8e7429fabd3b3c39a3374667ae624c3dbdcd01
Fix another crash due to BufferView::last_inset_ being an invalid pointer.

Now, we only want to let the last_inset_ pointer point at insets that accept the mouse_hover setting. Otherwise, the pointer is not cleared on deletion of the inset.

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

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