Skip to content

Commit 46da379

Browse files
committed
Merge pull request #1705 from marcel-dancak/db_manager-spatialite-index-tables
db_manager: do not display index tables when browsing SpatiaLite databases
2 parents 5acd35e + b9f8176 commit 46da379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/db_manager/db_plugins/spatialite/connector.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def getTables(self, schema=None):
181181
self._execute(c, sql)
182182

183183
for tbl in c.fetchall():
184-
if tablenames.count( tbl[0] ) <= 0:
184+
if tablenames.count( tbl[0] ) <= 0 and not (tbl[0].startswith('idx_') and tbl[0] in sys_tables):
185185
item = list(tbl)
186186
item.insert(0, Table.TableType)
187187
items.append( item )

0 commit comments

Comments
 (0)