mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23401 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7cd9525197
commit
2cf1154734
@ -1802,6 +1802,10 @@ void BufferView::updateMetrics()
|
||||
if (d->inlineCompletionPos.fixIfBroken())
|
||||
d->inlineCompletionPos = DocIterator();
|
||||
|
||||
if (d->anchor_pit_ >= npit)
|
||||
// The anchor pit must have been deleted...
|
||||
d->anchor_pit_ = npit - 1;
|
||||
|
||||
// Rebreak anchor paragraph.
|
||||
tm.redoParagraph(d->anchor_pit_);
|
||||
ParagraphMetrics & anchor_pm = tm.par_metrics_[d->anchor_pit_];
|
||||
|
Loading…
Reference in New Issue
Block a user