From 5f4991aef3493fbc88c10b25efe80eb68b6f87f3 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 26 Oct 2006 09:42:04 +0000 Subject: [PATCH] Invert accelerators --- src/jalview/jbgui/GAlignFrame.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 0611a72..ea6ee25 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -369,7 +369,8 @@ public class GAlignFrame }); invertSequenceMenuItem.setText("Invert Sequence Selection"); invertSequenceMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke( - java.awt.event.KeyEvent.VK_S, java.awt.event.KeyEvent.SHIFT_MASK, false)); + java.awt.event.KeyEvent.VK_I, + java.awt.event.KeyEvent.CTRL_MASK | java.awt.event.KeyEvent.SHIFT_MASK, false)); invertSequenceMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -1102,7 +1103,7 @@ public class GAlignFrame }); invertColSel.setText("Invert Column Selection"); invertColSel.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt. - event.KeyEvent.VK_C, java.awt.event.KeyEvent.SHIFT_MASK, false)); + event.KeyEvent.VK_I, java.awt.event.KeyEvent.CTRL_MASK, false)); invertColSel.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) -- 1.7.10.2