Changeset 13090 in josm for trunk/src/org
- Timestamp:
- 2017-11-06T13:37:59+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java
r12846 r13090 28 28 */ 29 29 public DialogsToggleAction() { 30 super(tr(" Toggle dialogs panel"),30 super(tr("Dialogs panel"), 31 31 (ImageProvider) null, /* no icon */ 32 32 tr("Toggle dialogs panel, maximize mapview"), -
trunk/src/org/openstreetmap/josm/gui/MainMenu.java
r12846 r13090 731 731 } 732 732 733 // -- dialogs panel toggle action734 final JCheckBoxMenuItem dialogsToggle = new JCheckBoxMenuItem(dialogsToggleAction);735 dialogsToggle.setAccelerator(dialogsToggleAction.getShortcut().getKeyStroke());736 dialogsToggleAction.addButtonModel(dialogsToggle.getModel());737 viewMenu.add(dialogsToggle);738 739 733 add(viewMenu, jumpToAct, true); 740 734 viewMenu.addSeparator(); … … 750 744 tr("Toggles the visibility of the edit toolbar (i.e., the vertical tool)"), 751 745 "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(); 752 752 // -- expert mode toggle action 753 753 final JCheckBoxMenuItem expertItem = new JCheckBoxMenuItem(ExpertToggleAction.getInstance());
Note:
See TracChangeset
for help on using the changeset viewer.