- Timestamp:
- 2016-10-07T10:25:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
r11063 r11088 305 305 } 306 306 307 private void restoreMapModeState() { 308 if (Main.map == null) 309 return; 310 if (oldMapMode != null) { 311 Main.map.selectMapMode(oldMapMode); 312 oldMapMode = null; 313 } else { 314 Main.map.selectSelectTool(false); 315 } 316 } 317 307 318 class WindowEventHandler extends WindowAdapter { 308 319 @Override … … 311 322 restoreMapModeState(); 312 323 } 313 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);325 324 } 326 325 }
Note:
See TracChangeset
for help on using the changeset viewer.