tvplanit/PrintPreview: Clear preview when all print formats are deleted.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8546 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2022-10-12 21:10:54 +00:00
parent 6242422cf8
commit c314f5b5f3

View File

@ -258,7 +258,7 @@ begin
Prn.CurFormat := fmtIdx;
UpdatePreview;
end else
; // to do: clear preview
PrintPreview.ForceUpdate;
EnableFormatButtons(true);
EnableElementButtons(true);
end;