From: Georg Baum Date: Thu, 10 Dec 2015 19:21:20 +0000 (+0100) Subject: Fix crash in info inset dialog apply (bug 9896) X-Git-Tag: 2.2.0beta1~412 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=92573c9ddcc8dd367fc9f681ca4910d4deb98e29;p=features.git Fix crash in info inset dialog apply (bug 9896) posBackward() is the exact inverse of posForward(), not backwardPos(). --- diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 06ea9ea6c9..e237a635eb 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -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.