Changeset 12926 in josm for trunk


Ignore:
Timestamp:
2017-10-05T12:04:41+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #15378 - adapt title of preset dialog when "create relation" is the only choice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPreset.java

    r12846 r12926  
    484484        } else if (p.getComponentCount() != 0 && (sel.isEmpty() || p.hasElements)) {
    485485            String title = trn("Change {0} object", "Change {0} objects", sel.size(), sel.size());
    486             if (sel.isEmpty()) {
     486            if (!showNewRelation && sel.isEmpty()) {
    487487                if (originalSelectionEmpty) {
    488488                    title = tr("Nothing selected!");
Note: See TracChangeset for help on using the changeset viewer.