mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Fix bug 3821: Put cursor where the mouse is before pasting external text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18702 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8153ea8fa7
commit
2dbfe820d8
@ -1047,8 +1047,10 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
bv->switchKeyMap();
|
||||
bv->buffer()->markDirty();
|
||||
finishUndo();
|
||||
} else
|
||||
} else {
|
||||
bv->mouseSetCursor(cur);
|
||||
lyx::dispatch(FuncRequest(LFUN_PRIMARY_SELECTION_PASTE, "paragraph"));
|
||||
}
|
||||
}
|
||||
|
||||
// we have to update after dePM triggered
|
||||
|
Loading…
Reference in New Issue
Block a user