Skip to content
Permalink
Browse files
Handle plain/regexp mode for delimited text provider same as for preview
  • Loading branch information
mhugent committed Feb 28, 2013
1 parent f1a85a5 commit a4d83139f08989f16a62887bea8712c13817dbd0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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() )

0 comments on commit a4d8313

Please sign in to comment.