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
  • Loading branch information
jef-n committed Sep 28, 2016
1 parent c7c5244 commit e963fff
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 e963fff

Please sign in to comment.