Kaydet (Commit) 8f72afaf authored tarafından Caolán McNamara's avatar Caolán McNamara

implement undo for equalize-marked-objects

Change-Id: I245e08674b52c2a5648e9d7762101b8057fd30e9
üst 0f4ce1e2
......@@ -1200,6 +1200,8 @@ void SdrEditView::EqualizeMarkedObjects(bool bWidth)
else
aLogicRectSize.Height() = aLastRectSize.Height();
aLogicRect.SetSize(aLogicRectSize);
if (bUndo)
AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pObj));
pObj->SetLogicRect(aLogicRect);
}
......
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