Skip to content

Commit

Permalink
Handle plain/regexp mode for delimited text provider same as for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Feb 28, 2013
1 parent f1a85a5 commit a4d8313
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() )
Expand Down

0 comments on commit a4d8313

Please sign in to comment.