Changeset 11203 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2016-10-31T16:21:57+01:00 (8 years ago)
Author:
Don-vip
Message:

fix #13888 - make sure popup parent is displayed before attempting to display popup

File:
1 edited

Legend:

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

    r10619 r11203  
    8585                return;
    8686            }
    87             if (source == null) return;
     87            if (source == null || !source.isShowing()) return;
    8888            for (ImageryLayer layer : layers) {
    8989                JMenuItem layerMenu = layer.getOffsetMenuItem();
Note: See TracChangeset for help on using the changeset viewer.