mirror of
https://github.com/fralx/LimeReport.git
synced 2025-01-11 17:18:10 +03:00
"Datasource not found" suppressed for empty data source at subdetail band
This commit is contained in:
parent
2af7c5c7dd
commit
6e895e9423
@ -638,7 +638,9 @@ void ReportRender::renderChildFooter(BandDesignIntf *parent, BandPrintMode print
|
||||
void ReportRender::renderChildBands(BandDesignIntf *parentBand)
|
||||
{
|
||||
foreach(BandDesignIntf* band,parentBand->childrenByType(BandDesignIntf::SubDetailBand)){
|
||||
IDataSource* ds = m_datasources->dataSource(band->datasourceName());
|
||||
IDataSource* ds = 0;
|
||||
if (!band->datasourceName().isEmpty())
|
||||
ds = m_datasources->dataSource(band->datasourceName());
|
||||
if (ds) ds->first();
|
||||
renderChildHeader(band,PrintAlwaysPrintable);
|
||||
renderDataBand(band);
|
||||
|
Loading…
Reference in New Issue
Block a user