@@ -96,16 +96,11 @@ def run(item, action, mainwindow):
96
96
iface .mapCanvas ().setRenderFlag ( False )
97
97
try :
98
98
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
-
102
99
provider = db .dbplugin ().providerName ()
103
100
uri = db .uri ();
104
101
105
102
# FACES
106
103
group = legend .addGroup (u'Faces' , False , supergroup )
107
- # should not be needed: http://hub.qgis.org/issues/6938
108
- legend .setGroupVisible (group , False )
109
104
110
105
# face mbr
111
106
uri .setDataSource (toponame , 'face' , 'mbr' , '' , 'face_id' )
@@ -152,8 +147,6 @@ def run(item, action, mainwindow):
152
147
153
148
# NODES
154
149
group = legend .addGroup (u'Nodes' , False , supergroup )
155
- # should not be needed: http://hub.qgis.org/issues/6938
156
- legend .setGroupVisible (group , False )
157
150
158
151
# node
159
152
uri .setDataSource (toponame , 'node' , 'geom' , '' , 'node_id' )
@@ -181,8 +174,6 @@ def run(item, action, mainwindow):
181
174
182
175
# EDGES
183
176
group = legend .addGroup (u'Edges' , False , supergroup )
184
- # should not be needed: http://hub.qgis.org/issues/6938
185
- legend .setGroupVisible (group , False )
186
177
187
178
# edge
188
179
uri .setDataSource (toponame , 'edge_data' , 'geom' , '' , 'edge_id' )
0 commit comments