mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 11:32:21 +00:00
Simple fix for #7673. We need to update the Buffer before we emit
the changed() signal. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40353 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3d28c26de3
commit
0b945c43ed
@ -2406,7 +2406,12 @@ bool BufferView::checkDepm(Cursor & cur, Cursor & old)
|
|||||||
|
|
||||||
d->cursor_ = cur;
|
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);
|
buffer_.changed(true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user