Skip to content

Commit

Permalink
Merge pull request #835 from punchagan/tab_pagedown
Browse files Browse the repository at this point in the history
Add Tab key to list of keys that scroll down the paging widget.
  • Loading branch information
epatters committed Oct 11, 2011
2 parents 3cd2110 + 6bdbf8e commit 7883c91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion IPython/frontend/qt/console/console_widget.py
Expand Up @@ -1265,7 +1265,8 @@ def _event_filter_page_keypress(self, event):
self.layout().setCurrentWidget(self._control)
return True

elif key in (QtCore.Qt.Key_Enter, QtCore.Qt.Key_Return):
elif key in (QtCore.Qt.Key_Enter, QtCore.Qt.Key_Return,
QtCore.Qt.Key_Tab):
new_event = QtGui.QKeyEvent(QtCore.QEvent.KeyPress,
QtCore.Qt.Key_PageDown,
QtCore.Qt.NoModifier)
Expand Down

0 comments on commit 7883c91

Please sign in to comment.