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:
jesus 2014-09-19 03:33:22 +00:00
parent 43db31159c
commit c70388e6a8

View File

@ -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;