mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-09 15:57:54 +01:00
LazReport, invalidate the page instead of just invalidating the 'end' state after undo/redo, fix issue #26698
git-svn-id: trunk@46249 -
This commit is contained in:
parent
43db31159c
commit
c70388e6a8
@ -5363,6 +5363,7 @@ begin
|
||||
BufferLength := FRedoBufferLength;
|
||||
|
||||
if (Buffer^[BufferLength - 1].Page <> CurPage) then Exit;
|
||||
|
||||
List := TFpList.Create;
|
||||
a := Buffer^[BufferLength - 1].Action;
|
||||
p := Buffer^[BufferLength - 1].Objects;
|
||||
@ -5419,7 +5420,7 @@ begin
|
||||
Dec(FRedoBufferLength);
|
||||
|
||||
ResetSelection;
|
||||
RedrawPage;
|
||||
PageView.Invalidate;
|
||||
N46.Enabled := FUndoBufferLength > 0;
|
||||
UndoB.Enabled := N46.Enabled;
|
||||
N48.Enabled := FRedoBufferLength > 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user