Ignore:
Timestamp:
2008-11-19T03:18:28+01:00 (15 years ago)
Author:
framm
Message:
  • fixed some NPEs when users go crazy ointhe keyboard with no data loaded
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ZoomOutAction.java

    r1084 r1087  
    1919
    2020        public void actionPerformed(ActionEvent e) {
     21        if (Main.map == null) return;
    2122                double zoom = Main.map.mapView.getScale();
    2223                Main.map.mapView.zoomTo(Main.map.mapView.getCenter(), zoom /.9);
Note: See TracChangeset for help on using the changeset viewer.