You've already forked lazarus-ccr
tvplanit: Fix PrintPreviewDlg not updating when a new format item is selected.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4904 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -170,14 +170,15 @@ end;
|
||||
procedure TVpPrintFormatComboBox.Change;
|
||||
var
|
||||
NewFormat : Integer;
|
||||
|
||||
begin
|
||||
if not Assigned (FControlLink) then
|
||||
Exit;
|
||||
|
||||
NewFormat := FControlLink.Printer.Find (Text);
|
||||
NewFormat := FControlLink.Printer.Find(Text);
|
||||
if NewFormat >= 0 then
|
||||
FControlLink.Printer.CurFormat := NewFormat;
|
||||
|
||||
inherited;
|
||||
end;
|
||||
|
||||
function TVpPrintFormatComboBox.GetAbout: string;
|
||||
|
Reference in New Issue
Block a user