- Timestamp:
- 2018-02-17T18:15:47+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
r13287 r13433 52 52 private transient AbstractTileSourceLayer<?> layer; 53 53 private MapMode oldMapMode; 54 private boolean exitingMode; 54 55 55 56 /** … … 112 113 @Override 113 114 public void exitMode() { 115 exitingMode = true; 114 116 super.exitMode(); 115 117 if (offsetDialog != null) { … … 121 123 } 122 124 removeListeners(); 125 exitingMode = false; 123 126 } 124 127 … … 351 354 map.selectMapMode(oldMapMode); 352 355 oldMapMode = null; 353 } else if (! map.selectSelectTool(false)) {356 } else if (!exitingMode && !map.selectSelectTool(false)) { 354 357 exitMode(); 355 358 map.mapMode = null;
Note:
See TracChangeset
for help on using the changeset viewer.