mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug 5156 http://bugzilla.lyx.org/show_bug.cgi?id=5156
Be more strict when evaluating whether the cursor is inside the selection git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26159 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
aa67d5eb64
commit
5ca204ea10
@ -1184,7 +1184,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
// Don't do anything if we right-click a
|
||||
// selection, a context menu will popup.
|
||||
if (bvcur.selection() && cur >= bvcur.selectionBegin()
|
||||
&& cur <= bvcur.selectionEnd()) {
|
||||
&& cur < bvcur.selectionEnd()) {
|
||||
cur.noUpdate();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user