the changed() signal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40353
a592a061-630c-0410-9148-
cb99ea01b6c8
d->cursor_ = cur;
- cur.forceBufferUpdate();
+ // we would rather not do this here, but it needs to be done before
+ // the changed() signal is sent. a riskier strategy has been tried
+ // in trunk (at r).
+ buffer_.updateBuffer();
+ // if it was requested, we've already done it
+ cur.clearBufferUpdate();
buffer_.changed(true);
return true;
}