mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix crash in info inset dialog apply (bug 9896)
posBackward() is the exact inverse of posForward(), not backwardPos().
This commit is contained in:
parent
5b5b1a4515
commit
92573c9ddc
@ -2202,7 +2202,7 @@ void BufferView::mouseEventDispatch(FuncRequest const & cmd0)
|
||||
// cursor in front of the inset.
|
||||
if (inset->hasSettings() &&
|
||||
cur.nextInset() != inset && cur.prevInset() == inset)
|
||||
cur.backwardPos();
|
||||
cur.posBackward();
|
||||
}
|
||||
|
||||
// Put anchor at the same position.
|
||||
|
Loading…
Reference in New Issue
Block a user