You've already forked lazarus-ccr
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:
@@ -258,7 +258,7 @@ begin
|
|||||||
Prn.CurFormat := fmtIdx;
|
Prn.CurFormat := fmtIdx;
|
||||||
UpdatePreview;
|
UpdatePreview;
|
||||||
end else
|
end else
|
||||||
; // to do: clear preview
|
PrintPreview.ForceUpdate;
|
||||||
EnableFormatButtons(true);
|
EnableFormatButtons(true);
|
||||||
EnableElementButtons(true);
|
EnableElementButtons(true);
|
||||||
end;
|
end;
|
||||||
|
|||||||
Reference in New Issue
Block a user