mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-26 05:18:11 +03:00
Finish 1.4.20
This commit is contained in:
commit
2383ab253d
@ -762,7 +762,7 @@ QString CallbackDatasource::columnNameByIndex(int columnIndex)
|
|||||||
int CallbackDatasource::columnIndexByName(QString name)
|
int CallbackDatasource::columnIndexByName(QString name)
|
||||||
{
|
{
|
||||||
for (int i=0;i<m_headers.size();++i) {
|
for (int i=0;i<m_headers.size();++i) {
|
||||||
if (m_headers[i].compare(name) == 0)
|
if (m_headers[i].compare(name, Qt::CaseInsensitive) == 0)
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
// if (m_headers.size()==0){
|
// if (m_headers.size()==0){
|
||||||
|
Loading…
Reference in New Issue
Block a user