0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-03-20 17:23:47 +03:00

Merge tag '1.5.56' into develop

Finish 1.5.56
This commit is contained in:
fralx 2020-05-25 13:22:11 +03:00
commit e3356a3d00
2 changed files with 14 additions and 11 deletions

View File

@ -134,7 +134,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
LIMEREPORT_VERSION_MAJOR = 1
LIMEREPORT_VERSION_MINOR = 5
LIMEREPORT_VERSION_RELEASE = 55
LIMEREPORT_VERSION_RELEASE = 56
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"

View File

@ -1987,7 +1987,9 @@ void TableBuilder::fillInRowData(QObject* row)
void TableBuilder::buildTable(const QString& datasourceName)
{
checkBaseLayout();
m_dataManager->dataSourceHolder(datasourceName)->invalidate(IDataSource::RENDER_MODE);
IDataSourceHolder* dh = m_dataManager->dataSourceHolder(datasourceName);
if (dh) {
dh->invalidate(IDataSource::RENDER_MODE);
IDataSource* ds = m_dataManager->dataSource(datasourceName);
if (ds){
bool firstTime = true;
@ -1999,6 +2001,7 @@ void TableBuilder::buildTable(const QString& datasourceName)
ds->next();
}
}
}
}
void TableBuilder::checkBaseLayout()