diff --git a/docs/source/int_interface.rst b/docs/source/int_interface.rst index 3c4b772a..599757dc 100644 --- a/docs/source/int_interface.rst +++ b/docs/source/int_interface.rst @@ -328,6 +328,8 @@ Most features are available as keyboard shortcuts. These are as follows: ":kbd:`Alt`:kbd:`1`", "Switch focus to the project tree." ":kbd:`Alt`:kbd:`2`", "Switch focus to document editor." ":kbd:`Alt`:kbd:`3`", "Switch focus to document viewer." + ":kbd:`Alt`:kbd:`Left`", "Move backward in the view history of the document viewer." + ":kbd:`Alt`:kbd:`Right`", "Move forward in the view history of the document viewer." ":kbd:`Ctrl`:kbd:`.`", "Open menu to correct word under cursor." ":kbd:`Ctrl`:kbd:`,`", "Open the :guilabel:`Preferences` dialog." ":kbd:`Ctrl`:kbd:`/`", "Change block format to comment." diff --git a/nw/gui/mainmenu.py b/nw/gui/mainmenu.py index ed96a4ee..9c4ce12c 100644 --- a/nw/gui/mainmenu.py +++ b/nw/gui/mainmenu.py @@ -475,16 +475,16 @@ class GuiMainMenu(QMenuBar): # View > Separator self.viewMenu.addSeparator() - # View > Navigate Viewer Backward - self.aViewPrev = QAction("Navigate Viewer Backward", self) - self.aViewPrev.setStatusTip("Show the previous document in the right pane") + # View > Go Backward + self.aViewPrev = QAction("Go Backward", self) + self.aViewPrev.setStatusTip("Move backward in the view history of the right pane") self.aViewPrev.setShortcut("Alt+Left") self.aViewPrev.triggered.connect(self.theParent.docViewer.navBackward) self.viewMenu.addAction(self.aViewPrev) - # View > Navigate Viewer Forward - self.aViewNext = QAction("Navigate Viewer Forward", self) - self.aViewNext.setStatusTip("Show the next document in the right pane") + # View > Go Forward + self.aViewNext = QAction("Go Forward", self) + self.aViewNext.setStatusTip("Move forward in the view history of the right pane") self.aViewNext.setShortcut("Alt+Right") self.aViewNext.triggered.connect(self.theParent.docViewer.navForward) self.viewMenu.addAction(self.aViewNext)