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 24, 2022
1 parent 4d7a772 commit ff12479
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 ff12479

Please sign in to comment.