Skip to content

Commit b9f8176

Browse files
author
Marcel Dancak
committedNov 28, 2014
db_manager: do not display index tables when browsing SpatiaLite databases
1 parent 4473efe commit b9f8176

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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.