Changeset 16113 in josm for trunk


Ignore:
Timestamp:
2020-03-11T23:13:22+01:00 (5 years ago)
Author:
Don-vip
Message:

see #18912 - add new method to clear button actions

File:
1 edited

Legend:

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

    r15655 r16113  
    976976    }
    977977
     978    /**
     979     * Clear button actions. Should be used when recreating the layout with sidebuttons, and the previous sidebuttons are no longer desired.
     980     * @since 16113
     981     */
     982    public void clearButtonActions() {
     983        buttonActions.clear();
     984    }
     985
    978986    @Override
    979987    public void eventDispatched(AWTEvent event) {
Note: See TracChangeset for help on using the changeset viewer.