Skip to content

Commit 98fd25e

Browse files
author
jef
committed
fix #2293
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12604 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent eedea86 commit 98fd25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgisapp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2559,7 +2559,7 @@ void QgisApp::addSpatiaLiteLayer()
25592559

25602560
// create the layer
25612561
//qWarning("creating layer");
2562-
QgsVectorLayer *layer = new QgsVectorLayer( "dbname='" + connectionInfo + "' table=" + *it + ")", layername, "spatialite" );
2562+
QgsVectorLayer *layer = new QgsVectorLayer( "dbname='" + connectionInfo + "' table=" + *it + ") sql=", layername, "spatialite" );
25632563
if ( layer->isValid() )
25642564
{
25652565
// register this layer with the central layers registry

0 commit comments

Comments
 (0)