Skip to content

Commit

Permalink
Fixes #50963 : Index already passed don't call findText
Browse files Browse the repository at this point in the history
  • Loading branch information
nicogodet authored and nyalldawson committed Nov 23, 2022
1 parent ed3483e commit 7b80b30
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -169,7 +169,7 @@ def setValue(self, value):
self._addLayerData(v[0], field_name)

comboBox = self.layersTree.itemWidget(self.layersTree.topLevelItem(i), 2)
comboBox.setCurrentIndex(comboBox.findText((int(v[3]))))
comboBox.setCurrentIndex((int(v[3])))

self.hasChanged.emit()

Expand Down

0 comments on commit 7b80b30

Please sign in to comment.