[GB.QT4]
* BUG: Reading the Printer.GrayScale property now returns the correct value. git-svn-id: svn://localhost/gambas/trunk@6385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
29d06fb0d1
commit
fbb0571940
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ END_PROPERTY
|
|||
BEGIN_PROPERTY(Printer_GrayScale)
|
||||
|
||||
if (READ_PROPERTY)
|
||||
GB.ReturnBoolean(!PRINTER->colorMode() == QPrinter::GrayScale);
|
||||
GB.ReturnBoolean(PRINTER->colorMode() == QPrinter::GrayScale);
|
||||
else
|
||||
PRINTER->setColorMode(VPROP(GB_BOOLEAN) ? QPrinter::GrayScale : QPrinter::Color);
|
||||
|
||||
|
|
Loading…
Reference in a new issue