Improve accessibility labels for novel and project trees

This commit is contained in:
Veronica Berglyd Olsen
2025-05-11 18:32:10 +02:00
parent 4417e275fd
commit 9b0890c9b7
5 changed files with 21 additions and 12 deletions
+1
View File
@@ -298,6 +298,7 @@ class GuiNovelToolBar(QWidget):
self.novelValue.setHandle(rootHandle)
SHARED.project.data.setLastHandle(rootHandle, "novel")
self.novelView.setCurrentNovel(rootHandle)
self.novelView.novelTree.setAccessibleName(self.novelValue.currentText())
return
def setLastColType(self, colType: nwNovelExtra, doRefresh: bool = True) -> None: