- Timestamp:
- 2014-12-11T14:50:09+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java
r7788 r7789 116 116 JButton btnCopyPath = new JButton(copyPathAction); 117 117 btnCopyPath.setPreferredSize(buttonDim); 118 Shortcut scCopyPath = Shortcut.registerShortcut( 119 "geoimage:copypath", tr("Geoimage: {0}", tr("Copy image path")), KeyEvent.VK_C, Shortcut.ALT_CTRL_SHIFT); 118 120 final String ACOPYPATH = "Copy image path"; 121 Main.registerActionShortcut(copyPathAction, scCopyPath); 122 btnCopyPath.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(scCopyPath.getKeyStroke(), ACOPYPATH); 119 123 btnCopyPath.getActionMap().put(ACOPYPATH, copyPathAction); 120 124
Note:
See TracChangeset
for help on using the changeset viewer.