Changeset 13090 in josm for trunk/src/org


Ignore:
Timestamp:
2017-11-06T13:37:59+01:00 (7 years ago)
Author:
bastiK
Message:

see #14142 - move dialogs toggle action menu entry down to toolbar toggle actions

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

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

    r12846 r13090  
    2828     */
    2929    public DialogsToggleAction() {
    30         super(tr("Toggle dialogs panel"),
     30        super(tr("Dialogs panel"),
    3131              (ImageProvider) null, /* no icon */
    3232              tr("Toggle dialogs panel, maximize mapview"),
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r12846 r13090  
    731731        }
    732732
    733         // -- dialogs panel toggle action
    734         final JCheckBoxMenuItem dialogsToggle = new JCheckBoxMenuItem(dialogsToggleAction);
    735         dialogsToggle.setAccelerator(dialogsToggleAction.getShortcut().getKeyStroke());
    736         dialogsToggleAction.addButtonModel(dialogsToggle.getModel());
    737         viewMenu.add(dialogsToggle);
    738 
    739733        add(viewMenu, jumpToAct, true);
    740734        viewMenu.addSeparator();
     
    750744                tr("Toggles the visibility of the edit toolbar (i.e., the vertical tool)"),
    751745                "sidetoolbar.visible", true).getCheckbox());
     746        // -- dialogs panel toggle action
     747        final JCheckBoxMenuItem dialogsToggle = new JCheckBoxMenuItem(dialogsToggleAction);
     748        dialogsToggle.setAccelerator(dialogsToggleAction.getShortcut().getKeyStroke());
     749        dialogsToggleAction.addButtonModel(dialogsToggle.getModel());
     750        viewMenu.add(dialogsToggle);
     751        viewMenu.addSeparator();
    752752        // -- expert mode toggle action
    753753        final JCheckBoxMenuItem expertItem = new JCheckBoxMenuItem(ExpertToggleAction.getInstance());
Note: See TracChangeset for help on using the changeset viewer.