Skip to content
Permalink
Browse files
TopoViewer: make topology group start as collapsed
  • Loading branch information
Sandro Santilli committed Dec 14, 2012
1 parent bd00b0f commit 051fe31e22040ebe5e3a52f7d6b8a7eba69a8b8e
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/__init__.py
@@ -92,7 +92,9 @@ def run(item, action, mainwindow):
prevRenderFlagState = iface.mapCanvas().renderFlag()
iface.mapCanvas().setRenderFlag( False )
try:
group = legend.addGroup(u'%s topology' % toponame)
# NOTE: -1 parent is an attempt to always add to the root, but
# it is currently broken: http://hub.qgis.org/issues/6879
group = legend.addGroup(u'%s topology' % toponame, False, -1)

provider = db.dbplugin().providerName()
uri = db.uri();

0 comments on commit 051fe31

Please sign in to comment.