mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Fix drag&drop of spatialite tables (fixes #14237)
This commit is contained in:
parent
63be2e5303
commit
c7cde461b2
@ -188,7 +188,7 @@ class SLTable(Table):
|
||||
if self.database().connector.isGpkg():
|
||||
# QGIS has no provider to load Geopackage vectors, let's use OGR
|
||||
return u"vector:ogr:%s:%s" % (self.name, self.ogrUri())
|
||||
return VectorTable.mimeUri(self)
|
||||
return Table.mimeUri(self)
|
||||
|
||||
def toMapLayer(self):
|
||||
from qgis.core import QgsVectorLayer
|
||||
|
Loading…
x
Reference in New Issue
Block a user