Ignore:
Timestamp:
2014-02-12T18:37:27+01:00 (10 years ago)
Author:
stoecker
Message:

don't have two osm-server url settings

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/oauth/AdvancedOAuthPropertiesPanel.java

    r6830 r6845  
    239239    public void initFromPreferences(Preferences pref) throws IllegalArgumentException {
    240240        CheckParameterUtil.ensureParameterNotNull(pref, "pref");
    241         setApiUrl(pref.get("osm-server-url"));
     241        setApiUrl(pref.get("osm-server.url"));
    242242        boolean useDefault = pref.getBoolean("oauth.settings.use-default", true);
    243243        ilUseDefault.setEnabled(false);
  • trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java

    r6666 r6845  
    280280        // Copy current JOSM preferences to update API url with the one used in this wizard
    281281        Preferences copyPref = CustomConfigurator.clonePreferences(Main.pref);
    282         copyPref.put("osm-server-url", apiUrl);
     282        copyPref.put("osm-server.url", apiUrl);
    283283        pnlFullyAutomaticAuthorisationUI.initFromPreferences(copyPref);
    284284        pnlSemiAutomaticAuthorisationUI.initFromPreferences(copyPref);
Note: See TracChangeset for help on using the changeset viewer.