Skip to content
Permalink
Browse files
fix for #1030
git-svn-id: http://svn.osgeo.org/qgis/trunk@8336 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 11, 2008
1 parent 067129e commit 13c9c1c17ade9d48843fd0ac284c0095f5f0dc08
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayer.cpp
@@ -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];

0 comments on commit 13c9c1c

Please sign in to comment.