0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

Background fixed

This commit is contained in:
Arin Alex 2018-03-28 19:24:06 +03:00
parent 452076613b
commit bae89854de
2 changed files with 4 additions and 2 deletions

View File

@ -62,7 +62,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
LIMEREPORT_VERSION_MAJOR = 1
LIMEREPORT_VERSION_MINOR = 4
LIMEREPORT_VERSION_RELEASE = 74
LIMEREPORT_VERSION_RELEASE = 75
LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"'
DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\"

View File

@ -545,7 +545,9 @@ void TextItem::setTextLayoutDirection(const Qt::LayoutDirection &textLayoutDirec
void TextItem::setWatermark(bool watermark)
{
setBackgroundMode(TransparentMode);
if (watermark){
setBackgroundMode(TransparentMode);
}
BaseDesignIntf::setWatermark(watermark);
}