- Timestamp:
- 2016-04-17T23:20:08+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
r9059 r10150 295 295 public void setVisible(boolean visible) { 296 296 super.setVisible(visible); 297 if (visible) return; 297 if (visible) 298 return; 298 299 offsetDialog = null; 299 if (getValue() != 1) { 300 layer.setOffset(oldDx, oldDy); 301 } else if (tBookmarkName.getText() != null && !tBookmarkName.getText().isEmpty()) { 302 OffsetBookmark.bookmarkOffset(tBookmarkName.getText(), layer); 300 if (layer != null) { 301 if (getValue() != 1) { 302 layer.setOffset(oldDx, oldDy); 303 } else if (tBookmarkName.getText() != null && !tBookmarkName.getText().isEmpty()) { 304 OffsetBookmark.bookmarkOffset(tBookmarkName.getText(), layer); 305 } 303 306 } 304 307 Main.main.menu.imageryMenu.refreshOffsetMenu(); 305 if (Main.map == null) return; 308 if (Main.map == null) 309 return; 306 310 if (oldMapMode != null) { 307 311 Main.map.selectMapMode(oldMapMode);
Note:
See TracChangeset
for help on using the changeset viewer.