mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix crash when copying an InsetTabular.
Buffer should not be set when cloning. If there is bug that was fixed by this line of code it should be fixed later by setting the Buffer after the cloning. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31900 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0d016420ce
commit
1a915927b5
@ -548,7 +548,6 @@ Tabular::CellData::CellData(CellData const & cs)
|
||||
p_width(cs.p_width),
|
||||
inset(dynamic_cast<InsetTableCell *>(cs.inset->clone()))
|
||||
{
|
||||
inset->setBuffer(cs.inset->buffer());
|
||||
}
|
||||
|
||||
Tabular::CellData & Tabular::CellData::operator=(CellData cs)
|
||||
|
Loading…
Reference in New Issue
Block a user