Changeset 18223 in josm for trunk/src/org


Ignore:
Timestamp:
2021-09-13T19:58:57+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21319 - fix optional regression (patch by marcello)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/Optional.java

    r18221 r18223  
    1919    @Override
    2020    public boolean addToPanel(JPanel p, TaggingPresetItemGuiSupport support) {
     21        initializeLocaleText(tr("Optional Attributes:"));
    2122        JLabel label = new JLabel(locale_text);
    2223        label.applyComponentOrientation(support.getDefaultComponentOrientation());
    23         initializeLocaleText(tr("Optional Attributes:"));
    2424        p.add(new JLabel(" "), GBC.eol()); // space
    2525        p.add(label, GBC.eol());
Note: See TracChangeset for help on using the changeset viewer.