* Fix to Bug 3903

When moving the cursor with a mouse click, notify all left insets, not 
just the top one


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18850 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2007-06-21 21:56:43 +00:00
parent 0ca5cd777c
commit 2932434aaa

View File

@ -1351,7 +1351,7 @@ bool BufferView::mouseSetCursor(Cursor & cur)
bool badcursor = false; bool badcursor = false;
bool leftinset = (&cursor_.inset() != &cur.inset()); bool leftinset = (&cursor_.inset() != &cur.inset());
if (leftinset) if (leftinset)
badcursor = cursor_.inset().notifyCursorLeaves(cursor_); badcursor = notifyCursorLeaves(cursor_, cur);
// do the dEPM magic if needed // do the dEPM magic if needed
// FIXME: (1) move this to InsetText::notifyCursorLeaves? // FIXME: (1) move this to InsetText::notifyCursorLeaves?