Fix crash in info inset dialog apply (bug 9896)

posBackward() is the exact inverse of posForward(), not backwardPos().
This commit is contained in:
Georg Baum 2015-12-10 20:21:20 +01:00
parent 5b5b1a4515
commit 92573c9ddc

View File

@ -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.