Ignore:
Timestamp:
2018-03-19T20:22:42+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #16106 - disable search button arrow when button itself is disabled. Default behaviour of SideButton is not changed (as select button does not have the same logic)

File:
1 edited

Legend:

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

    r13434 r13545  
    128128        // the search button
    129129        final SideButton searchButton = new SideButton(actSearch);
    130         searchButton.createArrow(e -> SearchPopupMenu.launch(searchButton));
     130        searchButton.createArrow(e -> SearchPopupMenu.launch(searchButton), true);
    131131
    132132        createLayout(lstPrimitives, true, Arrays.asList(
Note: See TracChangeset for help on using the changeset viewer.