Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

annotate: make F3/ctrl-F3 platform independent

Changeset 9feec9e8e2bf

Parent 6b103a943427

by Johan Samyn

Changes to one file · Browse files at 9feec9e8e2bf Showing diff from parent 6b103a943427 Diff from another changeset...

 
233
234
235
236
237
238
239
240
 
 
 
 
 
241
242
243
 
233
234
235
 
 
 
 
 
236
237
238
239
240
241
242
243
@@ -233,11 +233,11 @@
  self.thread.terminate()   self.finished()   return - if event.key() == Qt.Key_F3: - if event.modifiers() == Qt.ShiftModifier: - self.prevMatch() - else: - self.nextMatch() + if event.matches(QKeySequence.FindNext): + self.nextMatch() + return + if event.matches(QKeySequence.FindPrevious): + self.prevMatch()   return   return super(AnnotateView, self).keyPressEvent(event)