mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Reset anchor before selecting with S-button1
This commit is contained in:
parent
65b0e84b54
commit
b583fb26e8
@ -1608,6 +1608,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
switch (cmd.button()) {
|
||||
case mouse_button::button1:
|
||||
// Set the cursor
|
||||
bvcur.resetAnchor();
|
||||
if (!bv->mouseSetCursor(cur, cmd.modifier() == ShiftModifier))
|
||||
cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor);
|
||||
if (bvcur.wordSelection())
|
||||
|
Loading…
Reference in New Issue
Block a user