Changeset 5971 in josm for trunk


Ignore:
Timestamp:
2013-05-29T00:08:45+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8750 - NPE in ValidatorDialog

File:
1 edited

Legend:

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

    r5958 r5971  
    510510            boolean hasFixes = setSelection(null, false);
    511511            fixButton.setEnabled(hasFixes);
    512             Main.map.repaint();
     512            if (Main.map != null) {
     513                Main.map.repaint();
     514            }
    513515        }
    514516    }
Note: See TracChangeset for help on using the changeset viewer.