mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Set buffer correctly when deleting column in math grid
This is a followup to 837bcbb0
.
Fixes bug #11623.
This commit is contained in:
parent
c346de1bd1
commit
5915d69eaf
@ -896,6 +896,8 @@ void InsetMathGrid::delCol(col_type col)
|
||||
tmpcellinfo.push_back(cellinfo_[i]);
|
||||
}
|
||||
swap(cells_, tmpcells);
|
||||
// copying cells loses the buffer reference
|
||||
setBuffer(*buffer_);
|
||||
swap(cellinfo_, tmpcellinfo);
|
||||
|
||||
colinfo_.erase(colinfo_.begin() + col);
|
||||
|
Loading…
Reference in New Issue
Block a user