Ticket #17270: 17270.patch

File 17270.patch, 694 bytes (added by GerdP, 5 years ago)

simple patch to improve progress bar

  • src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java

     
    164164    protected void realRun() throws SAXException, IOException, OsmTransferException {
    165165        loadedData = new HistoryDataSet();
    166166        try {
    167             progressMonitor.setTicksCount(toLoad.size());
     167            progressMonitor.setTicksCount(2 * toLoad.size());
    168168            for (PrimitiveId pid: toLoad) {
    169169                if (canceled) {
    170170                    break;