mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +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,6 +2261,7 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool select)
|
|||||||
if (!do_selection && d->cursor_.inTexted())
|
if (!do_selection && d->cursor_.inTexted())
|
||||||
update |= checkDepm(cur, d->cursor_);
|
update |= checkDepm(cur, d->cursor_);
|
||||||
|
|
||||||
|
if (!do_selection)
|
||||||
d->cursor_.resetAnchor();
|
d->cursor_.resetAnchor();
|
||||||
d->cursor_.setCursor(cur);
|
d->cursor_.setCursor(cur);
|
||||||
d->cursor_.boundary(cur.boundary());
|
d->cursor_.boundary(cur.boundary());
|
||||||
|
Loading…
Reference in New Issue
Block a user