Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yrkim98 committed Jan 30, 2025
1 parent e935624 commit 148fa75
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ def _update_layer_list(self) -> None:
for idx, prediction_output_layer in enumerate(self._prediction_layers):
self._image_list.add_item(
prediction_output_layer.name,
set_checked=idx in previous_selections
set_checked=idx in previous_selections,
)


def _process_checked_signal(self, row: int, state: Qt.CheckState) -> None:
if self._model.get_input_mode() == InputMode.FROM_NAPARI_LAYERS:
self._model.set_selected_idx(self._image_list.get_checked_rows())

0 comments on commit 148fa75

Please sign in to comment.