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 b46a172 commit aa30c2f
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.disconnect(self.iface.mapCanvas(), SIGNAL("layersChanged()"), self.onVisibleLayersChanged)
self.disconnect(self.iface.mapCanvas(), SIGNAL("layersChanged()"), self.switchLayerMode)
BasePluginWidget.onClosing(self)

def onVisibleLayersChanged(self):
Expand Down

0 comments on commit aa30c2f

Please sign in to comment.