Changeset 9006 in josm for trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java
- Timestamp:
- 2015-11-15T01:43:19+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java
r8510 r9006 57 57 Main.map.setDialogsPanelVisible(selected); 58 58 Main.map.statusLine.setVisible(selected || Main.pref.getBoolean("statusbar.always-visible", true)); 59 Main.toolbar.control.setVisible(selected || Main.pref.getBoolean("toolbar.always-visible", true));60 59 Main.main.menu.setVisible(selected || Main.pref.getBoolean("menu.always-visible", true)); 61 // sideToolBar listens to preference changes, use it here 60 // Toolbars listen to preference changes, use it here 61 if (!Main.pref.getBoolean("toolbar.always-visible", true)) { 62 Main.pref.put("toolbar.visible", selected); 63 } 62 64 if (!Main.pref.getBoolean("sidetoolbar.always-visible", true)) { 63 65 Main.pref.put("sidetoolbar.visible", selected);
Note:
See TracChangeset
for help on using the changeset viewer.