Ignore:
Timestamp:
2021-02-21T13:42:52+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #20493 - allow to comment changesets directly from JOSM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetDiscussionPanel.java

    r17500 r17506  
    124124            try {
    125125                OsmApi.getOsmApi().addCommentToChangeset(current, dialog.getInputText(), null);
    126             } catch (OsmTransferException e) {
     126                actUpdateChangesets.actionPerformed(null);
     127            } catch (OsmTransferException | IllegalArgumentException e) {
    127128                Logging.error(e);
    128129                JOptionPane.showMessageDialog(
    129130                        MainApplication.getMainFrame(),
    130                         ExceptionUtil.explainOsmTransferException(e),
     131                        ExceptionUtil.explainException(e),
    131132                        tr("Error"),
    132133                        JOptionPane.ERROR_MESSAGE);
Note: See TracChangeset for help on using the changeset viewer.