From 0957585e76db221383a90f5a209a54ef4c883acd Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Fri, 29 Mar 2013 12:39:16 -0700 Subject: [PATCH] status: remove global up/down keyboard shortcuts 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 --- cola/widgets/status.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/cola/widgets/status.py b/cola/widgets/status.py index 3be06376e..498204d51 100644 --- a/cola/widgets/status.py +++ b/cola/widgets/status.py @@ -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'),