Changeset 3956 in josm


Ignore:
Timestamp:
Mar 5, 2011 12:53:31 AM (2 years ago)
Author:
bastiK
Message:

Turn off the new features introduced in [3934] for now. There are still minor technical problems (see #6037) and a release is due.

File:
1 edited

Legend:

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

    r3934 r3956  
    216216        // capabilities are already known to the editor instance. However 
    217217        // if it goes wrong that's not critical at this stage. 
    218         try { 
    219             OsmApi.getOsmApi().initialize(null); 
    220         } catch (Exception x) { 
    221             // ignore any exception here. 
     218        if (Main.pref.getBoolean("get-capabilities-at-start", false)) { 
     219            try { 
     220                OsmApi.getOsmApi().initialize(null); 
     221            } catch (Exception x) { 
     222                // ignore any exception here. 
     223            } 
    222224        } 
    223225 
Note: See TracChangeset for help on using the changeset viewer.