LazReport, fix List index (-1) out of bounds on undoing pen object inserts, issue #26506

git-svn-id: trunk@46137 -
This commit is contained in:
jesus 2014-09-06 05:41:36 +00:00
parent 4b8e6daa2f
commit 8a7aef4759

View File

@ -1999,8 +1999,10 @@ begin
t.dy := -t.dy; if Abs(t.dy) > Abs(t.dx) then t.y := OldRect.Bottom;
end;
t.Selected := True;
t.BeginUpdate;
t.FrameWidth := LastLineWidth;
t.FrameColor := LastFrameColor;
t.EndUpdate;
TfrDesignerForm(frDesigner).SelNum := 1;
NPRedrawViewCheckBand(t);
FDesigner.SelectionChanged;