Changeset 2346 in josm


Ignore:
Timestamp:
2009-10-29T06:52:20+01:00 (14 years ago)
Author:
Gubaer
Message:

fixed #3802: Download button is not highlighted anymore in the download dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java

    r2345 r2346  
    138138        pnl.add(btnDownload = new SideButton(actDownload = new DownloadAction()));
    139139        btnDownload.setFocusable(true);
     140        btnDownload.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,0), "download");
     141        btnDownload.getActionMap().put("download",actDownload);
    140142        pnl.add(new SideButton(new CancelAction()));
    141143        pnl.add(new SideButton(new ContextSensitiveHelpAction(ht("/Dialog/DownloadDialog"))));
Note: See TracChangeset for help on using the changeset viewer.