Fix crash with series and issue window if the year is None. Closes #523
This commit is contained in:
parent
f72c0c8224
commit
c7a49b3643
@ -334,7 +334,7 @@ class SeriesSelectionWindow(QtWidgets.QDialog):
|
||||
title = ""
|
||||
for series in self.series_list.values():
|
||||
if series.id == self.series_id:
|
||||
title = f"{series.name} ({series.start_year:04}) - "
|
||||
title = f"{series.name} ({series.start_year:04}) - " if series.start_year else f"{series.name} - "
|
||||
break
|
||||
|
||||
selector.setWindowTitle(title + "Select Issue")
|
||||
|
Loading…
Reference in New Issue
Block a user