Fix some annotations and add deleteLater to non-modal dialogs

This commit is contained in:
Veronica Berglyd Olsen
2023-11-27 21:43:13 +01:00
parent 4fa20273f7
commit 50a9b5b5e2
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -551,7 +551,7 @@ class NWIndex:
return 0
def getTableOfContents(
self, rHandle: str, maxDepth: int, skipExcl: bool = True
self, rHandle: str | None, maxDepth: int, skipExcl: bool = True
) -> list[tuple[str, int, str, int]]:
"""Generate a table of contents up to a maximum depth."""
tOrder = []