Changeset 5711 in josm
- Timestamp:
- 2013-02-12T21:56:20+01:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/UploadSelectionAction.java
r5360 r5711 6 6 7 7 import java.awt.event.ActionEvent; 8 import java.awt.event.KeyEvent; 8 9 import java.io.IOException; 9 10 import java.util.Collection; … … 32 33 import org.openstreetmap.josm.tools.CheckParameterUtil; 33 34 import org.openstreetmap.josm.tools.ExceptionUtil; 35 import org.openstreetmap.josm.tools.Shortcut; 34 36 import org.xml.sax.SAXException; 35 37 … … 44 46 "uploadselection", 45 47 tr("Upload all changes in the current selection to the OSM server."), 46 null, /* no shortcut */48 Shortcut.registerShortcut("file:uploadSelection", tr("File: {0}", tr("Upload selection")), KeyEvent.VK_U, Shortcut.ALT_CTRL_SHIFT), 47 49 true); 48 50 putValue("help", ht("/Action/UploadSelection")); -
trunk/src/org/openstreetmap/josm/gui/MainApplet.java
r5279 r5711 40 40 public UploadPreferencesAction() { 41 41 super(tr("Upload Preferences"), "upload-preferences", tr("Upload the current preferences to the server"), 42 Shortcut.registerShortcut("applet:uploadprefs", tr("Upload Preferences"), KeyEvent. VK_U, Shortcut.ALT_CTRL_SHIFT), true);42 Shortcut.registerShortcut("applet:uploadprefs", tr("Upload Preferences"), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), true); 43 43 } 44 44 public void actionPerformed(ActionEvent e) {
Note:
See TracChangeset
for help on using the changeset viewer.