[bugfix] missing third value (color) in tuple for autopicker

This commit is contained in:
Marcel Paffrath 2017-09-12 14:10:15 +02:00
parent 518019322d
commit 8381782194

View File

@ -2101,7 +2101,7 @@ class MainWindow(QMainWindow):
self.apw.show() self.apw.show()
def start_autopick(self): def start_autopick(self):
for key, func in self.pickoptions: for key, func, _ in self.pickoptions:
if self.apw.rb_dict[key].isChecked(): if self.apw.rb_dict[key].isChecked():
# if radio button is checked break for loop and use func # if radio button is checked break for loop and use func
break break