Ignore:
Timestamp:
2020-01-06T22:23:57+01:00 (6 years ago)
Author:
Don-vip
Message:

see #18514 - disable Window menu when empty

File:
1 edited

Legend:

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

    r14807 r15649  
    3737import org.openstreetmap.josm.gui.MainApplication;
    3838import org.openstreetmap.josm.gui.MainMenu;
     39import org.openstreetmap.josm.gui.WindowMenu;
    3940import org.openstreetmap.josm.gui.util.WindowGeometry;
    4041import org.openstreetmap.josm.gui.widgets.JosmEditorPane;
     
    214215            }
    215216            if (windowMenuItem == null && visible) {
    216                 windowMenuItem = MainMenu.add(menu.windowMenu, FOCUS_ACTION, MainMenu.WINDOW_MENU_GROUP.VOLATILE);
     217                windowMenuItem = MainMenu.add(menu.windowMenu, FOCUS_ACTION, WindowMenu.WINDOW_MENU_GROUP.VOLATILE);
    217218            }
    218219        }
Note: See TracChangeset for help on using the changeset viewer.