Changeset 6205 in josm


Ignore:
Timestamp:
2013-08-28T12:02:23+02:00 (11 years ago)
Author:
bastiK
Message:

see #4029 - fix problem when MapView is about to be loaded (nmea import)

File:
1 edited

Legend:

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

    r6132 r6205  
    113113        JFrame parentWindow = (JFrame) Main.parent;
    114114        Dimension size = currentNotificationPanel.getPreferredSize();
    115         if (Main.isDisplayingMapView()) {
     115        if (Main.isDisplayingMapView() && Main.map.mapView.getHeight() > 0) {
    116116            MapView mv = Main.map.mapView;
    117117            Point mapViewPos = SwingUtilities.convertPoint(mv.getParent(), mv.getX(), mv.getY(), Main.parent);
Note: See TracChangeset for help on using the changeset viewer.