Skip to content
Permalink
Browse files

Merge pull request #1705 from marcel-dancak/db_manager-spatialite-ind…

…ex-tables

db_manager: do not display index tables when browsing SpatiaLite databases
  • Loading branch information
brushtyler committed Dec 29, 2014
2 parents 5acd35e + b9f8176 commit 46da379c48634b2f25876ea7dd4ae71e77bc946d
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/db_plugins/spatialite/connector.py
@@ -181,7 +181,7 @@ def getTables(self, schema=None):
self._execute(c, sql)

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

0 comments on commit 46da379

Please sign in to comment.
You can’t perform that action at this time.