mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
db_manager: do not display index tables when browsing SpatiaLite databases
This commit is contained in:
parent
4473efe351
commit
b9f8176e66
@ -181,7 +181,7 @@ class SpatiaLiteDBConnector(DBConnector):
|
||||
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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user