Skip to content
Permalink
Browse files
fix for #1030
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 da15ba5946b6ac4c66723f305e8a7f7930263e7b
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 da15ba5

Please sign in to comment.