Changeset 4919 in josm for trunk


Ignore:
Timestamp:
2012-02-12T12:26:00+01:00 (13 years ago)
Author:
stoecker
Message:

prevent shortcut parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java

    r4905 r4919  
    141141        if (relation != null) {
    142142            tagEditorPanel.getModel().initFromPrimitive(relation);
    143             //this.tagEditorModel.initFromPrimitive(relation);
    144143            this.memberTableModel.populate(relation);
    145144            if (!getLayer().data.getRelations().contains(relation)) {
     
    977976            putValue(SMALL_ICON, ImageProvider.get("dialogs", "sort"));
    978977            putValue(NAME, tr("Sort"));
    979             //    Shortcut.registerShortcut("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)
    980979            updateEnabledState();
    981980        }
     
    999998            putValue(SMALL_ICON, ImageProvider.get("dialogs/relation", "reverse"));
    1000999            putValue(NAME, tr("Reverse"));
    1001             //   Shortcut.registerShortcut("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)
    10021001            updateEnabledState();
    10031002        }
     
    14321431            putValue(SMALL_ICON, ImageProvider.get("dialogs/relation", "downloadincompleteselected"));
    14331432            putValue(NAME, tr("Download Members"));
    1434         //  Shortcut.registerShortcut("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);
    14351434            updateEnabledState();
    14361435        }
Note: See TracChangeset for help on using the changeset viewer.