Changeset 17233 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-10-18T12:55:01+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
r17188 r17233 21 21 import javax.swing.AbstractAction; 22 22 import javax.swing.AbstractListModel; 23 import javax.swing.Action;24 23 import javax.swing.DefaultListSelectionModel; 25 24 import javax.swing.FocusManager; … … 178 177 pane.add(new JScrollPane(displaylist), BorderLayout.CENTER); 179 178 180 Shortcut editShortcut = Shortcut.registerShortcut("relation:edit", tr("Open Relation Editor"), KeyEvent.VK_R, Shortcut.ALT);181 editShortcut.setTooltip(editAction, String.valueOf(editAction.getValue(Action.SHORT_DESCRIPTION)));182 MainApplication.registerActionShortcut(editAction, editShortcut);183 179 SideButton editButton = new SideButton(editAction, false); 184 180 recentRelationsAction = new RecentRelationsAction(editButton);
Note:
See TracChangeset
for help on using the changeset viewer.