Changeset 6442 in josm


Ignore:
Timestamp:
2013-12-05T23:26:24+01:00 (8 years ago)
Author:
simon04
Message:

fix #8326 - Focus traversal in address preset dialog - make increment buttons non-focusable

File:
1 edited

Legend:

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

    r6437 r6442  
    613613                    aibutton.setToolTipText(tr("Select auto-increment of {0} for this field", ai));
    614614                    aibutton.setMargin(new java.awt.Insets(0,0,0,0));
     615                    aibutton.setFocusable(false);
    615616                    bg.add(aibutton);
    616617                    try {
     
    633634                final JToggleButton clearbutton = new JToggleButton("X");
    634635                clearbutton.setVisible(false);
     636                clearbutton.setFocusable(false);
    635637                bg.add(clearbutton);
    636638                // and its visible counterpart. - this mechanism allows us to
     
    640642                releasebutton.setToolTipText(tr("Cancel auto-increment for this field"));
    641643                releasebutton.setMargin(new java.awt.Insets(0,0,0,0));
     644                releasebutton.setFocusable(false);
    642645                releasebutton.addActionListener(new ActionListener() {
    643646                    @Override
Note: See TracChangeset for help on using the changeset viewer.