Changeset 31635 in osm for applications/editors/josm/plugins/rasterfilters/src
- Timestamp:
- 2015-10-15T19:28:31+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/RasterFiltersPlugin.java
r31509 r31635 83 83 FiltersDownloader.initFilters(); 84 84 85 LayerListDialog dialog = Main.map86 .getToggleDialog(LayerListDialog.class);87 88 85 if (action == null) { 89 86 action = new ShowLayerFiltersDialog(); … … 97 94 filterButton.setEnabled(false); 98 95 } 96 97 LayerListDialog dialog = LayerListDialog.getInstance(); 99 98 100 99 JPanel buttonRowPanel = (JPanel) ((JPanel) dialog.getComponent(2)) … … 123 122 124 123 Container container = filterButton.getParent(); 125 container.remove(filterButton); 124 if (container != null) 125 container.remove(filterButton); 126 126 127 FiltersDownloader.destroyFilters(); 127 128 filterButton = null;
Note:
See TracChangeset
for help on using the changeset viewer.