[processing] fixed update of MultipleInputPanel after alg is run

Fixes #20670
This commit is contained in:
volaya 2018-11-30 09:17:07 +01:00
parent 3a66b92522
commit e546129f5c

View File

@ -83,7 +83,7 @@ class MultipleInputPanel(BASE, WIDGET):
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)