Make sure information is synced properly when item label is changed

This commit is contained in:
Veronica K. B. Olsen
2020-05-09 21:49:05 +02:00
parent 91dd15ab57
commit 1ad156054c
5 changed files with 24 additions and 5 deletions
+2 -2
View File
@@ -526,8 +526,8 @@ class GuiDocTree(QTreeWidget):
newItem.setText(self.C_HANDLE, tHandle)
# newItem.setForeground(self.C_COUNT,QColor(*self.theParent.theTheme.treeWCount))
newItem.setTextAlignment(self.C_COUNT,Qt.AlignRight)
newItem.setFont(self.C_FLAGS,self.fontFlags)
newItem.setTextAlignment(self.C_COUNT, Qt.AlignRight)
newItem.setFont(self.C_FLAGS, self.fontFlags)
self.theMap[tHandle] = newItem
if pHandle is None: