Changeset 33105 in osm


Ignore:
Timestamp:
2016-12-10T11:16:45+01:00 (8 years ago)
Author:
malcolmh
Message:

exit bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/seachart/SeachartAction.java

    r32907 r33105  
    131131    public void closeChartLayer() {
    132132        if (isOpen) {
     133                try {
    133134            Main.getLayerManager().removeActiveLayerChangeListener(this);
    134135            Main.getLayerManager().removeLayerChangeListener(this);
    135136            Main.getLayerManager().removeLayer(rendering);
     137                } catch (Exception e) {
     138                        // Assume that this can't be serious?
     139                        System.err.println(e);
     140                }
    136141        }
    137142        isOpen = false;
Note: See TracChangeset for help on using the changeset viewer.