Skip to content
Permalink
Browse files

[processing] Fix exception when changing layer in Refactor Fields alg…

…orithm

Fixes #36582
  • Loading branch information
nyalldawson committed May 20, 2020
1 parent 011168f commit 169ca650feb8d825fe8a334e5ee49eac5a5fdc44
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/ui/FieldsMappingPanel.py
@@ -226,7 +226,7 @@ def postInitialize(self, wrappers):
layout.removeItem(spacer)

def parentLayerChanged(self, layer=None):
self.setLayer(self.sender().value())
self.setLayer(self.sender().widgetValue())

def setLayer(self, layer):
context = dataobjects.createContext()

0 comments on commit 169ca65

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