Skip to content

Commit

Permalink
followup b9b8a03: wthh?
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Aug 20, 2013
1 parent b9b8a03 commit 40fff7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/db_manager/db_model.py
Expand Up @@ -523,7 +523,8 @@ def dropMimeData(self, data, action, row, column, parent):
added += 1

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

return added > 0
Expand Down

0 comments on commit 40fff7c

Please sign in to comment.