Merge branch 'release' into dev
This commit is contained in:
+2
-1
@@ -641,8 +641,9 @@ class GuiBuildNovel(QDialog):
|
||||
bldObj.setColourHeaders(not noStyling)
|
||||
bldObj.initDocument()
|
||||
|
||||
# Make sure the tree order is correct
|
||||
# Make sure the project and document is up to date
|
||||
self.theParent.treeView.flushTreeOrder()
|
||||
self.theParent.saveDocument()
|
||||
|
||||
self.buildProgress.setMaximum(len(self.theProject.projTree))
|
||||
self.buildProgress.setValue(0)
|
||||
|
||||
@@ -468,6 +468,13 @@ class GuiMainMenu(QMenuBar):
|
||||
self.aFocusView.triggered.connect(lambda: self.theParent.setFocus(3))
|
||||
self.viewMenu.addAction(self.aFocusView)
|
||||
|
||||
# View > Outline
|
||||
self.aFocusOutline = QAction("Focus Outline", self)
|
||||
self.aFocusOutline.setStatusTip("Move focus to outline")
|
||||
self.aFocusOutline.setShortcut("Alt+4")
|
||||
self.aFocusOutline.triggered.connect(lambda: self.theParent.setFocus(4))
|
||||
self.viewMenu.addAction(self.aFocusOutline)
|
||||
|
||||
# View > Separator
|
||||
self.viewMenu.addSeparator()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user