Ignore:
Timestamp:
2020-03-04T20:57:37+01:00 (4 years ago)
Author:
simon04
Message:

TaggingPreset/KeyedItem: inherit from TextItem

File:
1 edited

Legend:

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

    r13597 r16035  
    4040    private static int auto_increment_selected; // NOSONAR
    4141
    42     /** The localized version of {@link #text}. */
    43     public String locale_text; // NOSONAR
    4442    /** The default value for the item. If not specified, the current value of the key is chosen as default (if applicable). Defaults to "". */
    4543    public String default_; // NOSONAR
     
    115113            originalValue = DIFFERENT;
    116114        }
    117         if (locale_text == null) {
    118             locale_text = getLocaleText(text, text_context, null);
    119         }
     115        initializeLocaleText(null);
    120116
    121117        // if there's an auto_increment setting, then wrap the text field
Note: See TracChangeset for help on using the changeset viewer.