mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Handle plain/regexp mode for delimited text provider same as for preview
This commit is contained in:
parent
f1a85a58a5
commit
a4d83139f0
@ -113,7 +113,7 @@ void QgsDelimitedTextSourceSelect::on_buttonBox_accepted()
|
||||
//Build the delimited text URI from the user provided information
|
||||
QString delimiterType;
|
||||
if ( delimiterSelection->isChecked() )
|
||||
delimiterType = "regexp";
|
||||
delimiterType = ( selectedChars().size() <= 1 ) ? "plain" : "regexp";
|
||||
else if ( delimiterPlain->isChecked() )
|
||||
delimiterType = "plain";
|
||||
else if ( delimiterRegexp->isChecked() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user