Skip to content
Browse files

Merge pull request #99 from pankajp/tasks_advanced_editor_area_pane_c…

…ange_switch_editor_shortcut

Change advanced editor area tab switching shortcut to Ctrl+PgUp/Down.
  • Loading branch information...
2 parents 02ae703 + 12f4a5e commit 9944178ebb8a87b772bce12d5ee2cf4ad0e1a659 @rkern rkern committed Feb 21, 2014
Showing with 1 addition and 4 deletions.
  1. +1 −4 pyface/ui/qt4/tasks/advanced_editor_area_pane.py
View
5 pyface/ui/qt4/tasks/advanced_editor_area_pane.py
@@ -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)

0 comments on commit 9944178

Please sign in to comment.
Something went wrong with that request. Please try again.