Skip to content
Permalink
Browse files

Fixes #18375 - fix API break

  • Loading branch information
slarosa committed Mar 7, 2018
1 parent 35b5c78 commit 29f6884a23c31357db30575437951278ad2d8f9c
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/__init__.py
@@ -235,19 +235,19 @@ def run(item, action, mainwindow):
groupFaces = QgsLayerTreeGroup(u'Faces')
for layer in faceLayers:
nodeLayer = groupFaces.addLayer(layer)
nodeLayer.setVisible(Qt.Unchecked)
nodeLayer.setItemVisibilityChecked(False)
nodeLayer.setExpanded(False)

groupNodes = QgsLayerTreeGroup(u'Nodes')
for layer in nodeLayers:
nodeLayer = groupNodes.addLayer(layer)
nodeLayer.setVisible(Qt.Unchecked)
nodeLayer.setItemVisibilityChecked(False)
nodeLayer.setExpanded(False)

groupEdges = QgsLayerTreeGroup(u'Edges')
for layer in edgeLayers:
nodeLayer = groupEdges.addLayer(layer)
nodeLayer.setVisible(Qt.Unchecked)
nodeLayer.setItemVisibilityChecked(False)
nodeLayer.setExpanded(False)

supergroup = QgsLayerTreeGroup(u'Topology "%s"' % toponame)

0 comments on commit 29f6884

Please sign in to comment.
You can’t perform that action at this time.