Changeset 12630 in josm for trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
- Timestamp:
- 2017-08-24T00:15:51+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r12620 r12630 36 36 import org.openstreetmap.josm.data.osm.Tagged; 37 37 import org.openstreetmap.josm.data.osm.Way; 38 import org.openstreetmap.josm.gui.MainApplication; 38 39 import org.openstreetmap.josm.gui.mappaint.Environment; 39 40 import org.openstreetmap.josm.gui.mappaint.mapcss.Selector; … … 1551 1552 @Override 1552 1553 protected Collection<Bounds> getBounds(OsmPrimitive primitive) { 1553 if (!Main .isDisplayingMapView()) {1554 if (!MainApplication.isDisplayingMapView()) { 1554 1555 return null; 1555 1556 } 1556 return Collections.singleton(Main .map.mapView.getRealBounds());1557 return Collections.singleton(MainApplication.getMap().mapView.getRealBounds()); 1557 1558 } 1558 1559
Note:
See TracChangeset
for help on using the changeset viewer.