Changeset 3472 in josm for trunk/src/org


Ignore:
Timestamp:
2010-08-26T07:14:50+02:00 (14 years ago)
Author:
jttt
Message:

Set default button in TaggingPreset dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r3403 r3472  
    941941                    buttons.get(0).setEnabled(!disableApply);
    942942                    buttons.get(0).setToolTipText(title);
     943                    getRootPane().setDefaultButton(buttons.get(0));
    943944                    setVisible(true);
    944945                }
Note: See TracChangeset for help on using the changeset viewer.