From 50b9fd4980d932bc1bc54977b7bf7aaf0cf5f3b5 Mon Sep 17 00:00:00 2001 From: Jacki Date: Sun, 17 Dec 2023 14:59:19 +0100 Subject: [PATCH] Implement filter for characters Signed-off-by: Jacki --- manuskript/mainWindow.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manuskript/mainWindow.py b/manuskript/mainWindow.py index 21ebeb86..a9c46586 100644 --- a/manuskript/mainWindow.py +++ b/manuskript/mainWindow.py @@ -1252,12 +1252,16 @@ def loadDatas(self, project): def makeUIConnections(self): "Connections that have to be made once only, even when a new project is loaded." + # Characters + self.txtPersosFilter.textChanged.connect(self.lstCharacters.setFilter, F.AUC) self.lstCharacters.itemSelectionChanged.connect(self.handleCharacterSelectionChanged, F.AUC) + # Plots self.txtPlotFilter.textChanged.connect(self.lstPlots.setFilter, F.AUC) self.lstPlots.currentItemChanged.connect(self.changeCurrentPlot, F.AUC) self.lstSubPlots.clicked.connect(self.changeCurrentSubPlot, F.AUC) + # Outline self.btnRedacAddFolder.clicked.connect(self.treeRedacOutline.addFolder, F.AUC) self.btnOutlineAddFolder.clicked.connect(self.treeOutlineOutline.addFolder, F.AUC) self.btnRedacAddText.clicked.connect(self.treeRedacOutline.addText, F.AUC)