Changeset 17034 in josm


Ignore:
Timestamp:
2020-09-16T21:59:55+02:00 (4 years ago)
Author:
Klumbumbus
Message:
  • see #19808 - Add icon for "Go to OSM Tag History" (self created, CC0 and PD licensed)
  • use undo icon for "Restore selected tags" in context menu of history viewer
  • use undo icon for "No, discard the changes and close" when trying to close the relation editor with unsaved changes (two times cancel icon was confusing)
Location:
trunk
Files:
1 added
2 edited

Legend:

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

    r16593 r17034  
    1717import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1818import org.openstreetmap.josm.gui.util.TableHelper;
     19import org.openstreetmap.josm.tools.ImageProvider;
    1920
    2021/**
     
    4546        this.objectSp = objectSp;
    4647        this.selectionModel = selectionModel;
     48        new ImageProvider("undo").getResource().attachImageIcon(this, true);
    4749    }
    4850
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/CancelAction.java

    r15586 r17034  
    7070                new ButtonSpec(
    7171                        tr("No, discard the changes and close"),
    72                         new ImageProvider("cancel"),
     72                        new ImageProvider("undo"),
    7373                        tr("Click to discard the changes and close this relation editor"),
    7474                        null /* no specific help topic */
Note: See TracChangeset for help on using the changeset viewer.