Skip to content

Commit 93864ce

Browse files
author
Sandro Santilli
committed
Remove workaround for layergroup bug #6938, now fixed
1 parent 37f1a16 commit 93864ce

File tree

1 file changed

+0
-9
lines changed
  • python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview

1 file changed

+0
-9
lines changed

python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/__init__.py

-9
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,11 @@ def run(item, action, mainwindow):
9696
iface.mapCanvas().setRenderFlag( False )
9797
try:
9898
supergroup = legend.addGroup(u'Topology "%s"' % toponame, False)
99-
# should not be needed: http://hub.qgis.org/issues/6938
100-
legend.setGroupVisible(supergroup, False)
101-
10299
provider = db.dbplugin().providerName()
103100
uri = db.uri();
104101

105102
# FACES
106103
group = legend.addGroup(u'Faces', False, supergroup)
107-
# should not be needed: http://hub.qgis.org/issues/6938
108-
legend.setGroupVisible(group, False)
109104

110105
# face mbr
111106
uri.setDataSource(toponame, 'face', 'mbr', '', 'face_id')
@@ -152,8 +147,6 @@ def run(item, action, mainwindow):
152147

153148
# NODES
154149
group = legend.addGroup(u'Nodes', False, supergroup)
155-
# should not be needed: http://hub.qgis.org/issues/6938
156-
legend.setGroupVisible(group, False)
157150

158151
# node
159152
uri.setDataSource(toponame, 'node', 'geom', '', 'node_id')
@@ -181,8 +174,6 @@ def run(item, action, mainwindow):
181174

182175
# EDGES
183176
group = legend.addGroup(u'Edges', False, supergroup)
184-
# should not be needed: http://hub.qgis.org/issues/6938
185-
legend.setGroupVisible(group, False)
186177

187178
# edge
188179
uri.setDataSource(toponame, 'edge_data', 'geom', '', 'edge_id')

0 commit comments

Comments
 (0)