Changeset 7809 in josm for trunk/src


Ignore:
Timestamp:
2014-12-16T16:16:45+01:00 (5 years ago)
Author:
bastiK
Message:

applied #10845 - notes downloaded before the notes dialog window was active do not show up in it (patch by ToeBee)

File:
1 edited

Legend:

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

    r7782 r7809  
    9595        uploadAction = new UploadNotesAction();
    9696        buildDialog();
     97        MapView.addLayerChangeListener(this);
    9798    }
    9899
     
    157158
    158159    @Override
    159     public void showNotify() {
    160         MapView.addLayerChangeListener(this);
    161     }
    162 
    163     @Override
    164     public void hideNotify() {
    165         MapView.removeLayerChangeListener(this);
    166     }
     160    public void showNotify() { }
     161
     162    @Override
     163    public void hideNotify() { }
    167164
    168165    @Override
Note: See TracChangeset for help on using the changeset viewer.