mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
please Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28324 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
66e455ba29
commit
48d5e2a579
@ -531,13 +531,13 @@ void InsetMathHull::numbered(row_type row, bool num)
|
||||
if (nonum_[row] && label_[row]) {
|
||||
delete label_[row];
|
||||
label_[row] = 0;
|
||||
// We need an update of the Buffer reference cache.
|
||||
// This is achieved by updateLabels().
|
||||
if (!buffer_) {
|
||||
// The buffer is set at the end of readInset
|
||||
// when parsing the inset, buffer_ is 0.
|
||||
// The buffer is set at the end of readInset.
|
||||
// When parsing the inset, buffer_ is 0.
|
||||
return;
|
||||
}
|
||||
// We need an update of the Buffer reference cache.
|
||||
// This is achieved by updateLabels().
|
||||
buffer().updateLabels();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user