Changeset 14888 in josm for trunk/src/org


Ignore:
Timestamp:
2019-03-16T22:24:19+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #17457 - Drop data depended tool tip from SelectedMembersForSelectionAction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/SelectedMembersForSelectionAction.java

    r14030 r14888  
    3030        boolean enabled = getSelectionTableModel().getRowCount() > 0
    3131        && !editorAccess.getMemberTableModel().getChildPrimitives(getLayer().data.getSelected()).isEmpty();
    32 
    33         if (enabled) {
    34             putValue(SHORT_DESCRIPTION, tr("Select relation members which refer to {0} objects in the current selection",
    35                     editorAccess.getMemberTableModel().getChildPrimitives(getLayer().data.getSelected()).size()));
    36         } else {
    37             putValue(SHORT_DESCRIPTION, tr("Select relation members which refer to objects in the current selection"));
    38         }
    3932        setEnabled(enabled);
    4033    }
Note: See TracChangeset for help on using the changeset viewer.