Ignore:
Timestamp:
2018-08-18T19:27:06+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 14153

Location:
applications/editors/josm/plugins/photoadjust
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/photoadjust/build.xml

    r34097 r34543  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="13060"/>
     7    <property name="plugin.main.version" value="14153"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoPropertyEditor.java

    r33757 r34543  
    2121import javax.swing.event.DocumentListener;
    2222
    23 import org.openstreetmap.josm.Main;
    2423import org.openstreetmap.josm.actions.JosmAction;
    2524import org.openstreetmap.josm.data.coor.LatLon;
     
    102101                updateLayer(layer, photo);
    103102            } catch (AssertionError err) {
    104                 JOptionPane.showMessageDialog(Main.parent,
     103                JOptionPane.showMessageDialog(MainApplication.getMainFrame(),
    105104                                              tr("Please select an image first."),
    106105                                              tr("No image selected"),
     
    149148        public PropertyEditorDialog(String title, final ImageEntry image,
    150149                                    final GeoImageLayer layer) {
    151             super(Main.parent, title, tr("Ok"), tr("Cancel"));
     150            super(MainApplication.getMainFrame(), title, tr("Ok"), tr("Cancel"));
    152151            this.image = image;
    153152            this.layer = layer;
     
    186185                @Override public void actionPerformed(ActionEvent evt) {
    187186                    final LatLonDialog llDialog
    188                         = new LatLonDialog(Main.parent,
     187                        = new LatLonDialog(MainApplication.getMainFrame(),
    189188                                           tr("Edit Image Coordinates"), null);
    190189                    llDialog.setCoordinates(getLatLon());
Note: See TracChangeset for help on using the changeset viewer.