diff --git a/comictaggerlib/seriesselectionwindow.py b/comictaggerlib/seriesselectionwindow.py index 8380e73..6bbf94f 100644 --- a/comictaggerlib/seriesselectionwindow.py +++ b/comictaggerlib/seriesselectionwindow.py @@ -349,7 +349,7 @@ class SeriesSelectionWindow(QtWidgets.QDialog): self.imageWidget.update_content() def select_by_id(self) -> None: - for r in range(self.twList.rows()): + for r in range(self.twList.rowCount()): if self.series_id == self.twList.item(r, 0).data(QtCore.Qt.ItemDataRole.UserRole): self.twList.selectRow(r) break