Skip to content

Commit

Permalink
Merge pull request #99 from pankajp/tasks_advanced_editor_area_pane_c…
Browse files Browse the repository at this point in the history
…ange_switch_editor_shortcut

Change advanced editor area tab switching shortcut to Ctrl+PgUp/Down.
  • Loading branch information
rkern committed Feb 21, 2014
2 parents 02ae703 + 12f4a5e commit 9944178
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyface/ui/qt4/tasks/advanced_editor_area_pane.py
Expand Up @@ -47,12 +47,9 @@ def create(self, parent):
if sys.platform == 'darwin':
next_seq = 'Ctrl+}'
prev_seq = 'Ctrl+{'
elif sys.platform.startswith('linux'):
else:
next_seq = 'Ctrl+PgDown'
prev_seq = 'Ctrl+PgUp'
else:
next_seq = 'Alt+n'
prev_seq = 'Alt+p'
shortcut = QtGui.QShortcut(QtGui.QKeySequence(next_seq), self.control)
shortcut.activated.connect(self._next_tab)
shortcut = QtGui.QShortcut(QtGui.QKeySequence(prev_seq), self.control)
Expand Down

0 comments on commit 9944178

Please sign in to comment.