Ignore:
Timestamp:
2009-06-06T21:39:12+02:00 (15 years ago)
Author:
stoecker
Message:

cleanup in file access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java

    r1601 r1646  
    7171
    7272        super(name);
    73         this.associatedFile = associatedFile;
     73        this.setAssociatedFile(associatedFile);
    7474        this.data = new ArrayList<Marker>();
    7575        this.fromLayer = fromLayer;
     
    258258            components.add (moveaudio);
    259259        }
    260         components.add(new JMenuItem(new RenameLayerAction(associatedFile, this)));
     260        components.add(new JMenuItem(new RenameLayerAction(getAssociatedFile(), this)));
    261261        components.add(new JSeparator());
    262262        components.add(new JMenuItem(new LayerListPopup.InfoAction(this)));
Note: See TracChangeset for help on using the changeset viewer.