Skip to content
Permalink
Browse files

Fix dropping geometryless tables to spatialite browser items

  • Loading branch information
nyalldawson committed Jan 31, 2016
1 parent 4825856 commit 89815646fb8f7e97a230d6eb35b9207d1659f5ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/spatialite/qgsspatialitedataitems.cpp
@@ -221,7 +221,7 @@ bool QgsSLConnectionItem::handleDrop( const QMimeData * data, Qt::DropAction )

if ( srcLayer->isValid() )
{
destUri.setDataSource( QString(), u.name, "geom" );
destUri.setDataSource( QString(), u.name, srcLayer->geometryType() != QGis::NoGeometry ? "geom" : QString() );
QgsDebugMsg( "URI " + destUri.uri() );
QgsVectorLayerImport::ImportError err;
QString importError;

0 comments on commit 8981564

Please sign in to comment.
You can’t perform that action at this time.