Commit 8b83e059 authored by Steve Borho's avatar Steve Borho
Browse files

fileview: describe shortcuts in next/prev tooltips

parent d2a4fe653078
......@@ -167,10 +167,12 @@ class HgFileView(QFrame):
self.modeToggleGroup.triggered.connect(self.setMode)
# Next/Prev diff (in full file mode)
self.actionNextDiff = QAction(qtlib.geticon('down'), 'Next diff', self)
self.actionNextDiff = QAction(qtlib.geticon('down'),
'Next diff (alt+down)', self)
self.actionNextDiff.setShortcut('Alt+Down')
self.actionNextDiff.triggered.connect(self.nextDiff)
self.actionPrevDiff = QAction(qtlib.geticon('up'), 'Previous diff', self)
self.actionPrevDiff = QAction(qtlib.geticon('up'),
'Previous diff (alt+up)', self)
self.actionPrevDiff.setShortcut('Alt+Up')
self.actionPrevDiff.triggered.connect(self.prevDiff)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment