Updating key mappings for cut and paste.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5339 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-09-11 20:25:24 +00:00
committed by derek
parent 888bf176de
commit 80e56b84fd
7 changed files with 9 additions and 9 deletions

View File

@ -123,7 +123,7 @@ public class TranscriptWindow extends ChatArea {
});
// Make sure ctrl-c works
getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("control c"), "copy");
getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("Ctrl c"), "copy");
getActionMap().put("copy", new AbstractAction("copy") {
public void actionPerformed(ActionEvent evt) {