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

@ -288,7 +288,7 @@ public class SparkTransferManager {
final ChatInputEditor chatSendField = room.getChatInputEditor();
chatSendField.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("control v"), "paste");
chatSendField.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("Ctrl v"), "paste");
chatSendField.getActionMap().put("paste", new AbstractAction("paste") {
public void actionPerformed(ActionEvent evt) {