Changeset 30707 in osm for applications


Ignore:
Timestamp:
2014-10-07T01:15:36+02:00 (10 years ago)
Author:
donvip
Message:

[josm_print] see #josm10592, #josm10596 - fix shortcut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintAction.java

    r29848 r30707  
    2121 *
    2222 */
    23 
    2423package org.openstreetmap.josm.plugins.print;
    2524
     
    4645    public PrintAction() {
    4746        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);
    5149    }
    5250
     
    5755     */
    5856    @Override
    59         public void actionPerformed(ActionEvent e) {
     57    public void actionPerformed(ActionEvent e) {
    6058        // Allow the JOSM GUI to be redrawn before modifying preferences
    6159        SwingUtilities.invokeLater(this);
     
    6866     */
    6967    @Override
    70         public void run () {
     68    public void run () {
    7169        PrintPlugin.adjustPrefs();
    7270        PrintDialog window = new PrintDialog(Main.parent);
Note: See TracChangeset for help on using the changeset viewer.