mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user