Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable commit: partial workaround for shift-backtab (refs #82)

Now the qsci will perform the backtab, but it loses focus afterward. Perhaps
a second workaround will be necessary

Changeset 367c63b055a0

Parent 0ed2c3b7651a

by Steve Borho

Changes to one file · Browse files at 367c63b055a0 Showing diff from parent 0ed2c3b7651a Diff from another changeset...

 
146
147
148
149
 
 
 
 
 
 
150
151
152
 
146
147
148
 
149
150
151
152
153
154
155
156
157
@@ -146,7 +146,12 @@
  if event.modifiers() == Qt.ControlModifier and event.key() == Qt.Key_E:   line, col = self.getCursorPosition()   self.reflowBlock(line) - super(MessageEntry, self).keyPressEvent(event) + elif event.key() == Qt.Key_Backtab: + event.ignore() + newev = QKeyEvent(event.type(), Qt.Key_Tab, Qt.ShiftModifier) + super(MessageEntry, self).keyPressEvent(newev) + else: + super(MessageEntry, self).keyPressEvent(event)    class CommitWidget(QWidget):   'A widget that encompasses a StatusWidget and commit extras'