Changeset 16279 in josm for trunk/src/org


Ignore:
Timestamp:
2020-04-12T19:52:40+02:00 (5 years ago)
Author:
simon04
Message:

fix #15051 - Add help button to "Search for Objects by Preset"

File:
1 edited

Legend:

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

    r14786 r16279  
    22package org.openstreetmap.josm.gui.tagging.presets;
    33
     4import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    56
     
    6667    TaggingPresetSearchPrimitiveDialog() {
    6768        super(MainApplication.getMainFrame(), tr("Search for objects by preset"), tr("Search"), tr("Cancel"));
     69        setButtonIcons("dialogs/search", "cancel");
     70        configureContextsensitiveHelp("/Action/TaggingPresetSearchPrimitiveDialog", true /* show help button */);
    6871        selector = new TaggingPresetSelector(false, false);
    6972        setContent(selector, false);
Note: See TracChangeset for help on using the changeset viewer.