This commit is contained in:
Jakub Trllo 2024-10-15 13:55:38 +02:00
parent ebdd757c66
commit e175121d0a

View file

@ -350,8 +350,8 @@ class DeliveryOptionsDialog(QtWidgets.QDialog):
def _get_selected_repres(self): def _get_selected_repres(self):
"""Returns list of representation names filtered from checkboxes.""" """Returns list of representation names filtered from checkboxes."""
selected_repres = [] selected_repres = []
for repre_name, chckbox in self._representation_checkboxes.items(): for repre_name, checkbox in self._representation_checkboxes.items():
if chckbox.isChecked(): if checkbox.isChecked():
selected_repres.append(repre_name) selected_repres.append(repre_name)
return selected_repres return selected_repres