Changeset 90e6161bf853…
Parent e7f481ed664f…
by
Changes to one file · Browse files at 90e6161bf853 Showing diff from parent e7f481ed664f Diff from another changeset...
@@ -233,6 +233,12 @@ self.thread.terminate()
self.finished()
return
+ if event.key() == Qt.Key_F3:
+ if event.modifiers() == Qt.ShiftModifier:
+ self.prevMatch()
+ else:
+ self.nextMatch()
+ return
return super(AnnotateView, self).keyPressEvent(event)
def fillModel(self, data):
@@ -315,6 +321,7 @@ if matches:
self.edit.setTextCursor(matches[0].cursor)
self.edit.setExtraSelections(self.colorsels + self.matches)
+ self.edit.setFocus()
class AnnotateThread(QThread):
'Background thread for annotating a file at a revision'
|
Loading...