Merge 1.5.3 fixes (#940)
* Resolve #918 * Resolve #935 * Bump version and update changelog and release notes
This commit is contained in:
committed by
GitHub
parent
5e2ab4f612
commit
5afd402c8b
@@ -628,11 +628,14 @@ class GuiProjectTree(QTreeWidget):
|
||||
trItem.setToolTip(self.C_STATUS, nwItem.itemStatus)
|
||||
|
||||
if self.mainConf.emphLabels and nwItem.itemLayout == nwItemLayout.DOCUMENT:
|
||||
trFont = trItem.font(self.C_NAME)
|
||||
if hLevel in ("H1", "H2"):
|
||||
trFont = trItem.font(self.C_NAME)
|
||||
trFont.setBold(True)
|
||||
trFont.setUnderline(True)
|
||||
trItem.setFont(self.C_NAME, trFont)
|
||||
else:
|
||||
trFont.setBold(False)
|
||||
trFont.setUnderline(False)
|
||||
trItem.setFont(self.C_NAME, trFont)
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user