Skip to content

Commit

Permalink
gdal tools: disconnect canvas signal after building vrt (fixes #15389)
Browse files Browse the repository at this point in the history
(cherry picked from commit e963fff)
  • Loading branch information
jef-n committed Sep 28, 2016
1 parent 4b7432c commit dedf4a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/GdalTools/tools/doBuildVRT.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def initialize(self):
def onClosing(self):
# disconnect from mapCanvas.layerChanged() signal
self.iface.mapCanvas().layersChanged.disconnect(self.onVisibleLayersChanged)
self.iface.mapCanvas().layersChanged.disconnect(self.switchLayerMode)
BasePluginWidget.onClosing(self)

def onVisibleLayersChanged(self):
Expand Down

0 comments on commit dedf4a5

Please sign in to comment.