Ignore:
Timestamp:
2017-08-24T22:53:50+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.getLayerManager(). Replacement: gui.MainApplication.getLayerManager()

File:
1 edited

Legend:

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

    r12630 r12636  
    8282        uploadAction = new UploadNotesAction();
    8383        buildDialog();
    84         Main.getLayerManager().addLayerChangeListener(this);
     84        MainApplication.getLayerManager().addLayerChangeListener(this);
    8585    }
    8686
     
    356356        public void actionPerformed(ActionEvent e) {
    357357            if (noteData == null) { //there is no notes layer. Create one first
    358                 Main.getLayerManager().addLayer(new NoteLayer());
     358                MainApplication.getLayerManager().addLayer(new NoteLayer());
    359359            }
    360360            MainApplication.getMap().selectMapMode(new AddNoteAction(noteData));
Note: See TracChangeset for help on using the changeset viewer.