Changeset 6800 in josm for trunk/src/org
- Timestamp:
- 2014-02-01T13:05:30+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/help/HelpBrowser.java
r6798 r6800 217 217 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 218 218 } 219 if(windowMenuItem != null && !visible) { 220 Main.main.menu.windowMenu.remove(windowMenuItem); 221 windowMenuItem = null; 222 } 223 if(windowMenuItem == null && visible) { 224 windowMenuItem = MainMenu.add(Main.main.menu.windowMenu, focusAction, MainMenu.WINDOW_MENU_GROUP.VOLATILE); 219 if (Main.main != null && Main.main.menu != null && Main.main.menu.windowMenu != null) { 220 if(windowMenuItem != null && !visible) { 221 Main.main.menu.windowMenu.remove(windowMenuItem); 222 windowMenuItem = null; 223 } 224 if(windowMenuItem == null && visible) { 225 windowMenuItem = MainMenu.add(Main.main.menu.windowMenu, focusAction, MainMenu.WINDOW_MENU_GROUP.VOLATILE); 226 } 225 227 } 226 228 super.setVisible(visible);
Note:
See TracChangeset
for help on using the changeset viewer.