Changeset 13694 in josm for trunk


Ignore:
Timestamp:
2018-05-01T16:26:12+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #16133, see #16053 - fix imagery layer offset bug (regression of r13546)

File:
1 edited

Legend:

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

    r13686 r13694  
    169169        case KeyEvent.VK_ESCAPE:
    170170            if (offsetDialog != null) {
     171                restoreOldMode = true;
    171172                offsetDialog.setVisible(false);
    172173                return;
     
    365366                return;
    366367            if (oldMapMode != null) {
    367                 if (restoreOldMode) {
     368                if (restoreOldMode || getValue() == ExtendedDialog.DialogClosedOtherwise) {
    368369                    map.selectMapMode(oldMapMode);
    369370                }
Note: See TracChangeset for help on using the changeset viewer.