Changeset 5129 in josm for trunk/src


Ignore:
Timestamp:
2012-03-29T12:06:24+02:00 (8 years ago)
Author:
akks
Message:

fix #7557: ID# shown twice in middle click selection window

File:
1 edited

Legend:

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

    r5051 r5129  
    529529            }
    530530            text.append(name);
    531 
    532             if (!osm.isNew()) {
     531           
     532            boolean idShown = Main.pref.getBoolean("osm-primitives.showid");
     533            // fix #7557 - do not show ID twice
     534           
     535            if (!osm.isNew() && !idShown) {
    533536                text.append(" [id="+osm.getId()+"]");
    534537            }
Note: See TracChangeset for help on using the changeset viewer.