Pre astyle

This commit is contained in:
Chris Crook 2013-04-09 10:48:57 +12:00
parent 0102eba542
commit 5bd27b072f

View File

@ -301,6 +301,7 @@ void QgsDelimitedTextSourceSelect::updateFieldLists()
if( useHeader )
{
fieldList = mFile->columnNames();
if( ! columnWkt.isEmpty()) indexWkt=fieldList.indexOf(columnWkt);
if( indexWkt < 0 ) indexWkt=fieldList.indexOf(QRegExp("wkt.*",Qt::CaseInsensitive));
if( indexWkt < 0 ) indexWkt=fieldList.indexOf(QRegExp("geom.*",Qt::CaseInsensitive));