Changeset 17775 in josm


Ignore:
Timestamp:
2021-04-13T23:00:11+02:00 (4 years ago)
Author:
simon04
Message:

see #16158, fix #20759 - Command+C to copy tags from properties dialog does not work on macOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r17768 r17775  
    1010import java.awt.Point;
    1111import java.awt.event.ActionEvent;
    12 import java.awt.event.InputEvent;
    1312import java.awt.event.KeyEvent;
    1413import java.awt.event.MouseAdapter;
     
    516515
    517516        tagTable.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT)
    518                 .put(KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_DOWN_MASK), "onCopy");
     517                .put(Shortcut.getCopyKeyStroke(), "onCopy");
    519518        tagTable.getActionMap().put("onCopy", copyKeyValueAction);
    520519
Note: See TracChangeset for help on using the changeset viewer.