Changeset 12645 in josm


Ignore:
Timestamp:
2017-08-25T15:26:00+02:00 (4 weeks ago)
Author:
Don-vip
Message:

see #15182 - remove last non-deprecated dependence of Main on GUI

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

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

    r12644 r12645  
    4646import org.openstreetmap.josm.gui.layer.MainLayerManager;
    4747import org.openstreetmap.josm.gui.preferences.ToolbarPreferences;
    48 import org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference;
    4948import org.openstreetmap.josm.io.FileWatcher;
    5049import org.openstreetmap.josm.io.OnlineResource;
     
    710709     */
    711710    public static void preConstructorInit() {
    712         ProjectionPreference.setProjection();
    713 
    714711        // init default coordinate format
    715712        try {
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r12644 r12645  
    8787import org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference;
    8888import org.openstreetmap.josm.gui.preferences.map.MapPaintPreference;
     89import org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference;
    8990import org.openstreetmap.josm.gui.preferences.server.OAuthAccessTokenHolder;
    9091import org.openstreetmap.josm.gui.preferences.server.ProxyPreference;
     
    777778        toolbar = new ToolbarPreferences();
    778779        Main.toolbar = toolbar;
     780        ProjectionPreference.setProjection();
    779781        GuiHelper.translateJavaInternalMessages();
    780782        preConstructorInit();
Note: See TracChangeset for help on using the changeset viewer.