- Timestamp:
- 2021-04-13T23:00:14+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
r16928 r17777 14 14 import java.awt.event.ComponentAdapter; 15 15 import java.awt.event.ComponentEvent; 16 import java.awt.event.InputEvent;17 import java.awt.event.KeyEvent;18 16 import java.awt.event.WindowAdapter; 19 17 import java.awt.event.WindowEvent; … … 36 34 import javax.swing.JSplitPane; 37 35 import javax.swing.JTabbedPane; 38 import javax.swing.KeyStroke;39 36 import javax.swing.event.ChangeEvent; 40 37 import javax.swing.event.ChangeListener; … … 71 68 import org.openstreetmap.josm.tools.Logging; 72 69 import org.openstreetmap.josm.tools.OsmUrlToBounds; 70 import org.openstreetmap.josm.tools.Shortcut; 73 71 74 72 /** … … 267 265 268 266 getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put( 269 KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_DOWN_MASK), "checkClipboardContents");267 Shortcut.getPasteKeyStroke(), "checkClipboardContents"); 270 268 271 269 getRootPane().getActionMap().put("checkClipboardContents", new AbstractAction() {
Note:
See TracChangeset
for help on using the changeset viewer.