Callback datasource has been fixed

This commit is contained in:
Arin Alexander
2017-06-20 05:59:39 +03:00
parent 60c45b8832
commit 0d64591085
4 changed files with 59 additions and 23 deletions

View File

@@ -151,6 +151,7 @@ bool GroupBandHeader::isNeedToClose(DataSourceManager* dataManager)
IDataSource* ds = dataManager->dataSource(datasourceName);
if (ds){
if (ds->data(m_groupFiledName).isNull() && m_groupFieldValue.isNull()) return false;
if (!ds->data(m_groupFiledName).isValid()) return false;
return ds->data(m_groupFiledName)!=m_groupFieldValue;
}
} else {