Changeset 30986 in osm


Ignore:
Timestamp:
2015-02-15T18:56:06+01:00 (10 years ago)
Author:
donvip
Message:

[josm_utilsplugin2] fix #josm1117 - do not use "bug" icon for MultiTagAction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/multitagger/MultiTagAction.java

    r30337 r30986  
    77import java.awt.event.KeyEvent;
    88import java.util.Collection;
    9 import org.openstreetmap.josm.tools.Shortcut;
     9
    1010import org.openstreetmap.josm.actions.JosmAction;
    1111import org.openstreetmap.josm.data.osm.OsmPrimitive;
     12import org.openstreetmap.josm.tools.Shortcut;
    1213
    1314public final class MultiTagAction extends JosmAction {
    1415
    1516    MultiTagDialog dlg;
    16    
     17
    1718    public MultiTagAction() {
    18         super(tr("Tag multiple objects [alpha]"), "bug", tr("Edit tags of object list in table"),
     19        super(tr("Tag multiple objects [alpha]"), null, tr("Edit tags of object list in table"),
    1920                Shortcut.registerShortcut("multitag", tr("Edit: {0}", tr("Tag multiple objects")), KeyEvent.VK_T, Shortcut.CTRL), true, true);
    2021        putValue("help", ht("/Action/MultiTag"));
     
    3536        setEnabled(getEditLayer()!=null);
    3637    }
    37    
     38
    3839    @Override
    3940    protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) {
     
    4344        }
    4445    }
    45    
     46
    4647}
Note: See TracChangeset for help on using the changeset viewer.