Navigation Menu

Skip to content

Commit

Permalink
status: remove global up/down keyboard shortcuts
Browse files Browse the repository at this point in the history
The widget still honors up/down when the widget has focus so disable the
global shortcuts since it interferes with being able to jump between the
"summary" and "description" fields using the up/down arrow keys.

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information
davvid committed Mar 29, 2013
1 parent ad84e12 commit 0957585
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions cola/widgets/status.py
Expand Up @@ -112,12 +112,11 @@ def __init__(self, parent):
cmds.OpenParentDir.SHORTCUT)
self.open_parent_dir.setIcon(qtutils.open_file_icon())

self.up = qtutils.add_action(self,
N_('Move Up'), self.move_up,
Qt.Key_K, Qt.Key_Up)
self.down = qtutils.add_action(self,
N_('Move Down'), self.move_down,
Qt.Key_J, Qt.Key_Down)
self.up = qtutils.add_action(self, N_('Move Up'), self.move_up,
Qt.Key_K)

self.down = qtutils.add_action(self, N_('Move Down'), self.move_down,
Qt.Key_J)

self.copy_path_action = qtutils.add_action(self,
N_('Copy Path to Clipboard'),
Expand Down

0 comments on commit 0957585

Please sign in to comment.