Ignore:
Timestamp:
2017-07-18T19:00:02+02:00 (2 years ago)
Author:
Don-vip
Message:

fix #15034 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/MapMode.java

    r12284 r12483  
    113113
    114114    protected void updateStatusLine() {
    115         Main.map.statusLine.setHelpText(getModeHelpText());
    116         Main.map.statusLine.repaint();
     115        if (Main.map != null && Main.map.statusLine != null) {
     116            Main.map.statusLine.setHelpText(getModeHelpText());
     117            Main.map.statusLine.repaint();
     118        }
    117119    }
    118120
Note: See TracChangeset for help on using the changeset viewer.