Changeset 17668 in josm for trunk


Ignore:
Timestamp:
2021-03-26T20:41:44+01:00 (4 years ago)
Author:
simon04
Message:

fix #20647 - Do not corrupt preferences when using --status-report

File:
1 edited

Legend:

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

    r17637 r17668  
    778778            return;
    779779        } else if (args.hasOption(Option.STATUS_REPORT)) {
     780            Preferences.main().enableSaveOnPut(false);
     781            Preferences.main().init(false);
    780782            System.out.println(ShowStatusReportAction.getReportHeader());
    781783            return;
Note: See TracChangeset for help on using the changeset viewer.