Changeset 11063 in josm
- Timestamp:
- 2016-09-27T21:08:25+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
r10936 r11063 286 286 } 287 287 super.buttonAction(buttonIndex, evt); 288 restoreMapModeState(); 288 289 } 289 290 … … 311 312 } 312 313 313 private void restoreMapModeState() { 314 if (Main.map == null) 315 return; 316 if (oldMapMode != null) { 317 Main.map.selectMapMode(oldMapMode); 318 oldMapMode = null; 319 } else { 320 Main.map.selectSelectTool(false); 321 } 322 } 314 } 315 } 316 317 private void restoreMapModeState() { 318 if (Main.map == null) 319 return; 320 if (oldMapMode != null) { 321 Main.map.selectMapMode(oldMapMode); 322 oldMapMode = null; 323 } else { 324 Main.map.selectSelectTool(false); 323 325 } 324 326 }
Note:
See TracChangeset
for help on using the changeset viewer.