Skip to content

Commit

Permalink
Add Tab key to list of keys that scroll down the paging widget.
Browse files Browse the repository at this point in the history
  • Loading branch information
punchagan committed Oct 9, 2011
1 parent a3229f5 commit 6bdbf8e
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 6bdbf8e

Please sign in to comment.