We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9da5fd3 commit f340eecCopy full SHA for f340eec
src/providers/delimitedtext/qgsdelimitedtextsourceselect.cpp
@@ -539,11 +539,14 @@ void QgsDelimitedTextSourceSelect::updateFieldLists()
539
540
bool haveFields = fieldNo > 0;
541
542
- bool isXY = cmbWktField->currentIndex() < 0 ||
543
- ( geomTypeXY->isChecked() &&
544
- ( cmbXField->currentIndex() >= 0 && cmbYField->currentIndex() >= 0 ) );
545
- geomTypeXY->setChecked( isXY );
546
- geomTypeWKT->setChecked( ! isXY );
+ if ( !geomTypeNone->isChecked() )
+ {
+ bool isXY = cmbWktField->currentIndex() < 0 ||
+ ( geomTypeXY->isChecked() &&
+ ( cmbXField->currentIndex() >= 0 && cmbYField->currentIndex() >= 0 ) );
547
+ geomTypeXY->setChecked( isXY );
548
+ geomTypeWKT->setChecked( ! isXY );
549
+ }
550
swGeomType->setCurrentIndex( bgGeomType->checkedId() );
551
552
if ( haveFields )
0 commit comments