mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Set buffer correctly when deleting column in math grid
This is a followup toebe6612e
. Fixes bug #11623. (cherry picked from commit5915d69eaf
)
This commit is contained in:
parent
421509b260
commit
7940263517
@ -891,6 +891,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);
|
||||
|
@ -133,6 +133,8 @@ What's new
|
||||
|
||||
- Enable change tracking if paragraph break change (bug 11629).
|
||||
|
||||
- Fix crash when deleting column in math grid (bug 11623).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user