Changeset 4919 in josm for trunk/src/org
- Timestamp:
- 2012-02-12T12:26:00+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java
r4905 r4919 141 141 if (relation != null) { 142 142 tagEditorPanel.getModel().initFromPrimitive(relation); 143 //this.tagEditorModel.initFromPrimitive(relation);144 143 this.memberTableModel.populate(relation); 145 144 if (!getLayer().data.getRelations().contains(relation)) { … … 977 976 putValue(SMALL_ICON, ImageProvider.get("dialogs", "sort")); 978 977 putValue(NAME, tr("Sort")); 979 // Shortcut.register Shortcut("relationeditor:sort", tr("Relation Editor: Sort"), KeyEvent.VK_HOME, Shortcut.GROUP_MNEMONIC)978 // Shortcut.register Shortcut("relationeditor:sort", tr("Relation Editor: Sort"), KeyEvent.VK_HOME, Shortcut.GROUP_MNEMONIC) 980 979 updateEnabledState(); 981 980 } … … 999 998 putValue(SMALL_ICON, ImageProvider.get("dialogs/relation", "reverse")); 1000 999 putValue(NAME, tr("Reverse")); 1001 // Shortcut.register Shortcut("relationeditor:reverse", tr("Relation Editor: Reverse"), KeyEvent.VK_END, Shortcut.GROUP_MNEMONIC)1000 // Shortcut.register Shortcut("relationeditor:reverse", tr("Relation Editor: Reverse"), KeyEvent.VK_END, Shortcut.GROUP_MNEMONIC) 1002 1001 updateEnabledState(); 1003 1002 } … … 1432 1431 putValue(SMALL_ICON, ImageProvider.get("dialogs/relation", "downloadincompleteselected")); 1433 1432 putValue(NAME, tr("Download Members")); 1434 // Shortcut.register Shortcut("relationeditor:downloadincomplete", tr("Relation Editor: Download Members"), KeyEvent.VK_K, Shortcut.GROUP_MNEMONIC);1433 // Shortcut.register Shortcut("relationeditor:downloadincomplete", tr("Relation Editor: Download Members"), KeyEvent.VK_K, Shortcut.GROUP_MNEMONIC); 1435 1434 updateEnabledState(); 1436 1435 }
Note:
See TracChangeset
for help on using the changeset viewer.