Add a button to open the novel tree root selector

This commit is contained in:
Veronica Berglyd Olsen
2022-11-22 12:33:32 +01:00
parent b7373688e7
commit 55f7a91eaf
3 changed files with 21 additions and 12 deletions
+3 -2
View File
@@ -40,11 +40,12 @@ class NovelSelector(QComboBox):
novelSelectionChanged = pyqtSignal(str)
def __init__(self, parent, project, theme):
def __init__(self, parent, project, mainGui):
super().__init__(parent=parent)
self._mainGui = mainGui
self._project = project
self._theme = theme
self._theme = mainGui.mainTheme
self._blockSignal = False
self.currentIndexChanged.connect(self._indexChanged)