Ignore:
Timestamp:
2014-01-03T02:17:12+01:00 (10 years ago)
Author:
Don-vip
Message:

fix #9511 - non propagation of OSM API url to OAuth preferences panel (regression from r6523)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/OAuthAuthenticationPreferencesPanel.java

    r6340 r6602  
    3030import org.openstreetmap.josm.gui.oauth.OAuthAuthorizationWizard;
    3131import org.openstreetmap.josm.gui.oauth.TestAccessTokenTask;
     32import org.openstreetmap.josm.io.OsmApi;
    3233import org.openstreetmap.josm.io.auth.CredentialsManager;
    3334import org.openstreetmap.josm.tools.ImageProvider;
     
    160161     */
    161162    public void initFromPreferences() {
     163        setApiUrl(Main.pref.get("osm-server.url", OsmApi.DEFAULT_API_URL).trim());
    162164        refreshView();
    163165    }
Note: See TracChangeset for help on using the changeset viewer.