Changeset 13047 in josm


Ignore:
Timestamp:
2017-10-28T16:12:05+02:00 (3 weeks ago)
Author:
Don-vip
Message:

fix #15493 - remember position of "Adjust Imagery Offset" dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java

    r12643 r13047  
    3434import org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer;
    3535import org.openstreetmap.josm.gui.layer.imagery.TileSourceDisplaySettings;
     36import org.openstreetmap.josm.gui.util.WindowGeometry;
    3637import org.openstreetmap.josm.gui.widgets.JMultilineLabel;
    3738import org.openstreetmap.josm.gui.widgets.JosmTextField;
     
    243244            setupDialog();
    244245            addWindowListener(new WindowEventHandler());
     246            setRememberWindowGeometry(getClass().getName() + ".geometry", WindowGeometry.centerInWindow(Main.parent, getSize()));
    245247        }
    246248
Note: See TracChangeset for help on using the changeset viewer.