mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 05:19:31 +02:00
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:
parent
4b8e6daa2f
commit
8a7aef4759
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user