Skip to content

Commit

Permalink
Merge pull request #1705 from marcel-dancak/db_manager-spatialite-ind…
Browse files Browse the repository at this point in the history
…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 46da379
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 46da379

Please sign in to comment.