Skip to content
Permalink
Browse files

Fixes #18375 - fix API break

cherry-picked from 29f6884
  • Loading branch information
slarosa committed Mar 7, 2018
1 parent 9052bb3 commit 8bd39fb3477ff809aefc92f3f9e9f2a81157d8f0
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 8bd39fb

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