mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 16:39:15 +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;
|
t.dy := -t.dy; if Abs(t.dy) > Abs(t.dx) then t.y := OldRect.Bottom;
|
||||||
end;
|
end;
|
||||||
t.Selected := True;
|
t.Selected := True;
|
||||||
|
t.BeginUpdate;
|
||||||
t.FrameWidth := LastLineWidth;
|
t.FrameWidth := LastLineWidth;
|
||||||
t.FrameColor := LastFrameColor;
|
t.FrameColor := LastFrameColor;
|
||||||
|
t.EndUpdate;
|
||||||
TfrDesignerForm(frDesigner).SelNum := 1;
|
TfrDesignerForm(frDesigner).SelNum := 1;
|
||||||
NPRedrawViewCheckBand(t);
|
NPRedrawViewCheckBand(t);
|
||||||
FDesigner.SelectionChanged;
|
FDesigner.SelectionChanged;
|
||||||
|
Loading…
Reference in New Issue
Block a user