Navigation Menu

Skip to content

Commit

Permalink
fix for #1030
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8336 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 11, 2008
1 parent 0a33336 commit da15ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -2195,7 +2195,7 @@ bool QgsVectorLayer::setDataProvider( QString const & provider )
{
QgsDebugMsg("Beautifying layer name " + name());
// adjust the display name for postgres layers
QRegExp reg("\".+\"\\.\"(.+)\"");
QRegExp reg("\"[^\"]+\"\\.\"([^\"]+)\"");
reg.indexIn(name());
QStringList stuff = reg.capturedTexts();
QString lName = stuff[1];
Expand Down

0 comments on commit da15ba5

Please sign in to comment.