Kaydet (Commit) 1d3e4bc3 authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Caolán McNamara

Resolves: #i120201# added forcing TableLayouter to take action...

in table undo/redo (CellUndo)

(cherry picked from commit 88b1d351)

Change-Id: I407323bf6c96ad577d8fc24c82118afc6173f97d
üst 26ea01a4
......@@ -129,8 +129,13 @@ void CellUndo::setDataToCell( const Data& rData )
mxCell->mnRowSpan = rData.mnRowSpan;
mxCell->mnColSpan = rData.mnColSpan;
if( mxObjRef.is() )
if(mxObjRef.is())
{
// #i120201# ActionChanged is not enough, we need to trigger TableLayouter::UpdateBorderLayout()
// and this is done best using ReformatText() for table objects
mxObjRef->ActionChanged();
mxObjRef->NbcReformatText();
}
}
void CellUndo::getDataFromCell( Data& rData )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment