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
@@ -2,6 +2,19 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h2>Release Notes for 1.5.3</h2>
|
||||
<p><i>Released on 31 December 2021</i></p>
|
||||
|
||||
<p>This is a bugfix release that fixes two cosmetic issues. The first fix resolves and issue with
|
||||
the emphasis of partition or chapter items in the project tree not changing when the item is
|
||||
changed to a scene item. The second fix changes how the Create Root Folder submenu works. Instead
|
||||
of disabling the menu entries that are no longer available, they are instead removed. Disabled menu
|
||||
entries are not displayed correctly in all colour themes.</p>
|
||||
|
||||
<p><i>See also the <a href="https://github.com/vkbo/novelWriter/releases">Releases</a> page.</i></p>
|
||||
|
||||
<hr/>
|
||||
|
||||
<h2>Release Notes for 1.5.2</h2>
|
||||
<p><i>Released on 12 December 2021</i></p>
|
||||
|
||||
@@ -10,8 +23,6 @@ output if a paragraph has alignment or indentation tags while at the same time c
|
||||
emphasised text. The second is an issue where the application cannot load a project with spell
|
||||
checking enabled if there is something wrong with the spell check package.</p>
|
||||
|
||||
<p><i>See also the <a href="https://github.com/vkbo/novelWriter/releases">Releases</a> page.</i></p>
|
||||
|
||||
<hr/>
|
||||
|
||||
<h2>Release Notes for 1.5.1</h2>
|
||||
|
||||
@@ -84,7 +84,7 @@ class GuiMainMenu(QMenuBar):
|
||||
continue
|
||||
if itemClass == nwItemClass.TRASH:
|
||||
continue
|
||||
self.rootItems[itemClass].setEnabled(
|
||||
self.rootItems[itemClass].setVisible(
|
||||
self.theProject.projTree.checkRootUnique(itemClass)
|
||||
)
|
||||
return
|
||||
|
||||
@@ -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