File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/plugins/delimited_text Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,17 +129,17 @@ void QgsDelimitedTextPluginGui::updateFieldLists()
129
129
}
130
130
// Have a go at setting the selected items in the X and Y
131
131
// combo boxes to something sensible.
132
- int indexX = cmbXField->findText (" X " , Qt::MatchContains);
133
- int indexY = cmbXField->findText (" Y " , Qt::MatchContains);
132
+ int indexX = cmbXField->findText (" lon " , Qt::MatchContains);
133
+ int indexY = cmbXField->findText (" lat " , Qt::MatchContains);
134
134
if (indexX != -1 && indexY != -1 )
135
135
{
136
136
cmbXField->setCurrentIndex (indexX);
137
137
cmbYField->setCurrentIndex (indexY);
138
138
}
139
139
else
140
140
{
141
- indexX = cmbXField->findText (" lon " , Qt::MatchContains);
142
- indexY = cmbXField->findText (" lat " , Qt::MatchContains);
141
+ indexX = cmbXField->findText (" x " , Qt::MatchContains);
142
+ indexY = cmbXField->findText (" y " , Qt::MatchContains);
143
143
if (indexX != -1 && indexY != -1 )
144
144
{
145
145
cmbXField->setCurrentIndex (indexX);
You can’t perform that action at this time.
0 commit comments