mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
* 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:
parent
0ca5cd777c
commit
2932434aaa
@ -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?
|
||||||
|
Loading…
Reference in New Issue
Block a user