Changeset 13775 in josm


Ignore:
Timestamp:
2018-05-15T23:15:52+02:00 (7 years ago)
Author:
Don-vip
Message:

fix preferences initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.groovy

    r13771 r13775  
    6161        Main.determinePlatformHook()
    6262        def pref = new Preferences(JosmBaseDirectories.getInstance())
     63        Config.setPreferencesInstance(pref)
    6364        pref.init(false)
    64         Config.setPreferencesInstance(pref)
    6565        def script = new SyncEditorLayerIndex()
    6666        script.setupProj()
Note: See TracChangeset for help on using the changeset viewer.