Skip to content

Commit

Permalink
fixed backslash validator in OWS connection names
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Feb 14, 2014
1 parent 54d3510 commit 277d274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsnewhttpconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ QgsNewHttpConnection::QgsNewHttpConnection(
// using connection-wms and connection-wfs -> parse credential key fro it.
mCredentialsBaseKey = mBaseKey.split( '-' ).last().toUpper();

txtName->setValidator( new QRegExpValidator( QRegExp( "[^/]+" ), txtName ) );
txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]+" ), txtName ) );

cmbDpiMode->clear();
cmbDpiMode->addItem( tr( "all" ) );
Expand Down

0 comments on commit 277d274

Please sign in to comment.