Changeset 15258 in josm


Ignore:
Timestamp:
2019-07-20T18:11:12+02:00 (5 weeks ago)
Author:
Don-vip
Message:

fix #17944 - fix imagery bookmark offset reset

File:
1 edited

Legend:

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

    r15230 r15258  
    10631063                        OffsetBookmark offsetBookmark = abstractTileSourceLayer.getDisplaySettings().getOffsetBookmark();
    10641064                        if (offsetBookmark != null) {
    1065                             offsetBookmark.setDisplacement(EastNorth.ZERO);
    1066                             abstractTileSourceLayer.getDisplaySettings().setOffsetBookmark(offsetBookmark);
     1065                            abstractTileSourceLayer.getDisplaySettings().setOffsetBookmark(null);
     1066                            MainApplication.getMenu().imageryMenu.refreshOffsetMenu();
    10671067                        }
    10681068                    }
Note: See TracChangeset for help on using the changeset viewer.