Changeset 14862 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2019-03-09T18:32:19+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #17427 - fix imagery html tooltip (regression of r11625?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java

    r14550 r14862  
    7070     */
    7171    public AddImageryLayerAction(ImageryInfo info) {
    72         super(info.getMenuName(), /* ICON */"imagery_menu", tr("Add imagery layer {0}", info.getName()), null,
     72        super(info.getMenuName(), /* ICON */"imagery_menu", info.getToolTipText(), null,
    7373                true, ToolbarPreferences.IMAGERY_PREFIX + info.getToolbarName(), false);
    7474        setHelpId(ht("/Preferences/Imagery"));
    75         setTooltip(info.getToolTipText().replaceAll("</?html>", ""));
    7675        this.info = info;
    7776        installAdapters();
Note: See TracChangeset for help on using the changeset viewer.