Ignore:
Timestamp:
2020-09-12T20:48:56+02:00 (4 years ago)
Author:
stoecker
Message:

fix #19786, Add missing icons to View menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r16967 r17021  
    133133import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetSearchPrimitiveDialog;
    134134import org.openstreetmap.josm.spi.preferences.Config;
     135import org.openstreetmap.josm.tools.ImageProvider;
    135136import org.openstreetmap.josm.tools.PlatformManager;
    136137import org.openstreetmap.josm.tools.Shortcut;
     
    828829        viewMenu.addSeparator();
    829830        viewMenu.add(new PreferenceToggleAction(tr("Main toolbar"),
     831                new ImageProvider("dialogs/main_toolbar.svg"),
    830832                tr("Toggles the visibility of the main toolbar (i.e., the horizontal toolbar)"),
    831833                MapFrame.TOOLBAR_VISIBLE).getCheckbox());
    832834        viewMenu.add(new PreferenceToggleAction(tr("Edit toolbar"),
     835                new ImageProvider("dialogs/edit_toolbar.svg"),
    833836                tr("Toggles the visibility of the edit toolbar (i.e., the vertical tool)"),
    834837                MapFrame.SIDE_TOOLBAR_VISIBLE).getCheckbox());
Note: See TracChangeset for help on using the changeset viewer.