Ticket #12409: RecentRelationsHideArrow.patch

File RecentRelationsHideArrow.patch, 638 bytes (added by kolesar, 10 years ago)
  • src/org/openstreetmap/josm/actions/relation/RecentRelationsAction.java

    diff --git a/src/org/openstreetmap/josm/actions/relation/RecentRelationsAction.java b/src/org/openstreetmap/josm/actions/relation/RecentRelationsAction.java
    index d2eb2a6..6ece250 100644
    a b public class RecentRelationsAction implements ActionListener, CommandQueueListen  
    6767     * Enables arrow button.
    6868     */
    6969    public void enableArrow() {
    70         arrow.setEnabled(getLastRelation() != null);
     70        arrow.setVisible(getLastRelation() != null);
    7171    }
    7272
    7373    /**