mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
Fix part of bug #6400: Shift+mouse click loses the existing selection instead of extending it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32578 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
67c03d202f
commit
7e08a4376e
@ -2261,7 +2261,8 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool select)
|
||||
if (!do_selection && d->cursor_.inTexted())
|
||||
update |= checkDepm(cur, d->cursor_);
|
||||
|
||||
d->cursor_.resetAnchor();
|
||||
if (!do_selection)
|
||||
d->cursor_.resetAnchor();
|
||||
d->cursor_.setCursor(cur);
|
||||
d->cursor_.boundary(cur.boundary());
|
||||
if (do_selection)
|
||||
|
Loading…
Reference in New Issue
Block a user