Merge hotfixes from 1.5.1 (#914)
* Fix bug in translation source list and restore lost translations * Fix shift focus to novel tree on Alt+1 when visible * Bump version and update changelog and release notes
This commit is contained in:
committed by
GitHub
parent
1c45331b0a
commit
9a484193eb
@@ -1220,7 +1220,11 @@ class GuiMain(QMainWindow):
|
||||
"""Switch focus between main GUI views.
|
||||
"""
|
||||
if paneNo == nwWidget.TREE:
|
||||
self.treeView.setFocus()
|
||||
tabIdx = self.projTabs.currentIndex()
|
||||
if tabIdx == self.idxTreeView:
|
||||
self.treeView.setFocus()
|
||||
elif tabIdx == self.idxNovelView:
|
||||
self.novelView.setFocus()
|
||||
elif paneNo == nwWidget.EDITOR:
|
||||
self.mainTabs.setCurrentWidget(self.splitDocs)
|
||||
self.docEditor.setFocus()
|
||||
|
||||
Reference in New Issue
Block a user