Skip to content
Permalink
Browse files

Fix python calls to inexistent methods

  • Loading branch information
m-kuhn committed Oct 17, 2016
1 parent 3001bd5 commit 576ad138a987f6b0a7731ff3c764b1609c0f96cc
@@ -340,7 +340,6 @@ def updateSqlLayer(self):
self.layer.reload()
self.iface.actionDraw().trigger()
self.iface.mapCanvas().refresh()
self.iface.legendInterface().refreshLayerLegend(layer)
finally:
QApplication.restoreOverrideCursor()

@@ -69,4 +69,3 @@ def processAlgorithm(self, progress):
layer.readSymbology(n, '')
self.setOutputValue(self.OUTPUT, filename)
iface.mapCanvas().refresh()
iface.legendInterface().refreshLayerLegend(layer)
@@ -60,5 +60,4 @@ def processAlgorithm(self, progress):
else:
layer.loadNamedStyle(style)
iface.mapCanvas().refresh()
iface.legendInterface().refreshLayerLegend(layer)
layer.triggerRepaint()
@@ -212,7 +212,6 @@ def load(fileName, name=None, crs=None, style=None):
style = ProcessingConfig.getSetting(ProcessingConfig.RASTER_STYLE)
qgslayer.loadNamedStyle(style)
QgsMapLayerRegistry.instance().addMapLayers([qgslayer])
iface.legendInterface().refreshLayerLegend(qgslayer)
else:
if prjSetting:
settings.setValue('/Projections/defaultBehaviour', prjSetting)

0 comments on commit 576ad13

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