Skip to content
Browse files

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 <davvid@gmail.com>
  • Loading branch information...
1 parent ad84e12 commit 0957585e76db221383a90f5a209a54ef4c883acd @davvid committed
Showing with 5 additions and 6 deletions.
  1. +5 −6 cola/widgets/status.py
View
11 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'),

0 comments on commit 0957585

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