Changeset 10930 in josm
- Timestamp:
- 2016-09-02T14:22:48+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
r10688 r10930 92 92 } 93 93 offsetDialog.setVisible(false); 94 // do not restore old mode here - this is called when the new mode is already known. 94 95 offsetDialog = null; 95 96 } … … 301 302 } 302 303 Main.main.menu.imageryMenu.refreshOffsetMenu(); 304 } 305 306 private void restoreMapModeState() { 303 307 if (Main.map == null) 304 308 return; 305 if (oldMapMode != null ) {309 if (oldMapMode != null ) { 306 310 Main.map.selectMapMode(oldMapMode); 307 311 oldMapMode = null; … … 315 319 public void windowClosing(WindowEvent e) { 316 320 setVisible(false); 321 restoreMapModeState(); 317 322 } 318 323 }
Note:
See TracChangeset
for help on using the changeset viewer.