Skip to content
Permalink
Browse files
db_mananger: fix loading geometryless tables (fixes #10566)
  • Loading branch information
jef-n committed Jun 12, 2014
1 parent d1e3dbc commit 85ce67624c01c3eec4fb2d7bdb0e784560a53d89
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/db_plugins/plugin.py
@@ -554,7 +554,7 @@ def uri(self):
schema = self.schemaName() if self.schemaName() else ''
geomCol = self.geomColumn if self.type in [Table.VectorType, Table.RasterType] else ""
uniqueCol = self.getValidQGisUniqueFields(True) if self.isView else None
uri.setDataSource(schema, self.name, geomCol if geomCol else "", "", uniqueCol.name if uniqueCol else "" )
uri.setDataSource(schema, self.name, geomCol if geomCol else None, uniqueCol.name if uniqueCol else "" )
return uri

def mimeUri(self):

0 comments on commit 85ce676

Please sign in to comment.