Changeset 2930 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
- Timestamp:
- 03.02.2010 09:07:36 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
r2912 r2930 174 174 SelectionEventManager.getInstance().removeSelectionListener(this); 175 175 MapView.removeEditLayerChangeListener(this); 176 updateTitle(0, 0, 0); 176 177 } 177 178 … … 274 275 } 275 276 276 if( (nodes+ways+relations) != 0) { 277 setTitle(tr("Sel.: Rel.:{0} / Ways:{1} / Nodes:{2}", relations, ways, nodes)); 278 } else { 279 setTitle(tr("Selection")); 280 } 277 updateTitle(nodes, ways, relations); 281 278 282 279 if (selectionHistory != null && newSelection.size() > 0 && !newSelection.equals(historyIgnoreSelection)) { … … 293 290 selectionHistory.removeLast(); 294 291 } 292 } 293 } 294 295 private void updateTitle(int nodes, int ways, int relations) { 296 if( (nodes+ways+relations) != 0) { 297 setTitle(tr("Sel.: Rel.:{0} / Ways:{1} / Nodes:{2}", relations, ways, nodes)); 298 } else { 299 setTitle(tr("Selection")); 295 300 } 296 301 }
Note: See TracChangeset
for help on using the changeset viewer.
