Changeset 30707 in osm for applications
- Timestamp:
- 2014-10-07T01:15:36+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintAction.java
r29848 r30707 21 21 * 22 22 */ 23 24 23 package org.openstreetmap.josm.plugins.print; 25 24 … … 46 45 public PrintAction() { 47 46 super(tr("Print..."), (String)null, tr("Print the map"), 48 Shortcut.registerShortcut("print:print", tr("File: {0}", tr("Print...")), 49 KeyEvent.VK_P, Shortcut.CTRL), 50 true, "print/print", true); 47 Shortcut.registerShortcut("system:print", tr("File: {0}", tr("Print...")), 48 KeyEvent.VK_P, Shortcut.CTRL), true, "print/print", true); 51 49 } 52 50 … … 57 55 */ 58 56 @Override 59 57 public void actionPerformed(ActionEvent e) { 60 58 // Allow the JOSM GUI to be redrawn before modifying preferences 61 59 SwingUtilities.invokeLater(this); … … 68 66 */ 69 67 @Override 70 68 public void run () { 71 69 PrintPlugin.adjustPrefs(); 72 70 PrintDialog window = new PrintDialog(Main.parent);
Note:
See TracChangeset
for help on using the changeset viewer.