Skip to content

Commit 40fff7c

Browse files
committed
followup b9b8a03: wthh?
1 parent b9b8a03 commit 40fff7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/plugins/db_manager/db_model.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@ def dropMimeData(self, data, action, row, column, parent):
523523
added += 1
524524

525525
if data.hasFormat(self.QGIS_URI_MIME):
526-
for uri tin qgis.core.QgsMimeDataUtils.decodeUriList( data ):
526+
for uri in qgis.core.QgsMimeDataUtils.decodeUriList( data ):
527+
if self.importLayer( uri.layerType, uri.providerKey, uri.name, uri.uri, parent ):
527528
added += 1
528529

529530
return added > 0

0 commit comments

Comments
 (0)