mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
followup b9b8a039: wthh?
This commit is contained in:
parent
b9b8a03905
commit
40fff7caa1
@ -523,7 +523,8 @@ class DBModel(QAbstractItemModel):
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user