Changeset 7547 in josm
- Timestamp:
- 2014-09-16T20:33:54+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
r7539 r7547 68 68 import org.openstreetmap.josm.gui.layer.Layer; 69 69 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 70 import org.openstreetmap.josm.gui.util.GuiHelper; 70 71 import org.openstreetmap.josm.gui.util.HighlightHelper; 71 72 import org.openstreetmap.josm.gui.widgets.DisableShortcutsOnFocusGainedTextField; … … 173 174 InputMapUtils.unassignCtrlShiftUpDown(displaylist, JComponent.WHEN_FOCUSED); 174 175 175 // Select relation on Ctrl-Enter176 // Select relation on Enter 176 177 InputMapUtils.addEnterAction(displaylist, selectRelationAction); 177 178 … … 179 180 displaylist.getActionMap().put("edit", editAction); 180 181 displaylist.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, KeyEvent.CTRL_MASK), "edit"); 182 183 // Do not hide copy action because of default JList override (fix #9815) 184 displaylist.getActionMap().put("copy", Main.main.menu.copy); 185 displaylist.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_C, GuiHelper.getMenuShortcutKeyMaskEx()), "copy"); 181 186 182 187 updateActionsRelationLists();
Note:
See TracChangeset
for help on using the changeset viewer.