Skip to content

Commit

Permalink
db_manager: do not display index tables when browsing SpatiaLite data…
Browse files Browse the repository at this point in the history
…bases
  • Loading branch information
Marcel Dancak committed Nov 28, 2014
1 parent 4473efe commit b9f8176
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 b9f8176

Please sign in to comment.