mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 11:40:35 +02:00
fixed Printer.Refresh double printer list (from Darek)
git-svn-id: trunk@8420 -
This commit is contained in:
parent
ad4cc7ea32
commit
cac3bd154d
@ -344,7 +344,6 @@ begin
|
||||
// it wont be filled on getting printers
|
||||
// due to only one initialization
|
||||
GetPrinters;
|
||||
DoEnumPrinters(fPrinters);
|
||||
|
||||
fPrinterIndex:=-1;
|
||||
|
||||
@ -578,6 +577,7 @@ end;
|
||||
procedure TPrinter.DoResetPrintersList;
|
||||
begin
|
||||
//Override this methode
|
||||
fPrintersValid:=false;
|
||||
end;
|
||||
|
||||
procedure TPrinter.DoResetFontsList;
|
||||
|
Loading…
Reference in New Issue
Block a user