Ticket #10845: empty_note_dialog.patch
File empty_note_dialog.patch, 875 bytes (added by , 11 years ago) |
---|
-
src/org/openstreetmap/josm/gui/dialogs/NoteDialog.java
94 94 sortAction = new SortAction(); 95 95 uploadAction = new UploadNotesAction(); 96 96 buildDialog(); 97 MapView.addLayerChangeListener(this); 97 98 } 98 99 99 100 @Override … … 156 157 } 157 158 158 159 @Override 159 public void showNotify() { 160 MapView.addLayerChangeListener(this); 161 } 160 public void showNotify() { } 162 161 163 162 @Override 164 public void hideNotify() { 165 MapView.removeLayerChangeListener(this); 166 } 163 public void hideNotify() { } 167 164 168 165 @Override 169 166 public void activeLayerChange(Layer oldLayer, Layer newLayer) { }