Clean up outline view code

This commit is contained in:
Veronica Berglyd Olsen
2023-09-15 22:38:56 +02:00
parent cba1a2c062
commit bf592fa706
2 changed files with 144 additions and 166 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class NovelSelector(QComboBox):
# Methods
##
def setHandle(self, tHandle: str, blockSignal: bool = True) -> None:
def setHandle(self, tHandle: str | None, blockSignal: bool = True) -> None:
"""Set the currently selected handle."""
self._blockSignal = blockSignal
if tHandle is None: