Clean up Main GUI inheritance

This commit is contained in:
Veronica Berglyd Olsen committed 2024-05-02 22:13:35 +02:00
1 parent e75b5e012c
commit 2b8338f537
10 files changed
+68 -96

No files matched your search

+2 -2
View File
@@ -69,8 +69,8 @@ class GuiWritingStats(NToolDialog):
FMT_JSON = 0
FMT_CSV = 1
def __init__(self, mainGui: GuiMain) -> None:
super().__init__(parent=mainGui)
def __init__(self, parent: GuiMain) -> None:
super().__init__(parent=parent)
logger.debug("Create: GuiWritingStats")
self.setObjectName("GuiWritingStats")