Skip to content

Commit

Permalink
[processing] fixed update of MultipleInputPanel after alg is run
Browse files Browse the repository at this point in the history
Fixes #20670

(cherry picked from commit e546129)
  • Loading branch information
volaya authored and nyalldawson committed Dec 4, 2018
1 parent 5bd63c7 commit 2e6ebb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/MultipleInputPanel.py
Expand Up @@ -83,7 +83,7 @@ def updateForOptions(self, options):
selectedoptions = []
selected = [self.options[i] if isinstance(i, int) else i for i in self.selectedoptions]
for sel in selected:
if isinstance(sel, int):
if not isinstance(sel, int):
try:
idx = options.index(sel)
selectedoptions.append(idx)
Expand Down

0 comments on commit 2e6ebb0

Please sign in to comment.