Ticket #24747: 24747.patch
| File 24747.patch, 1.1 KB (added by , 8 days ago) |
|---|
-
src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java
45 45 import org.openstreetmap.josm.gui.util.ChangeNotifier; 46 46 import org.openstreetmap.josm.tools.CheckParameterUtil; 47 47 import org.openstreetmap.josm.tools.ColorScale; 48 import org.openstreetmap.josm.tools.Logging;49 48 50 49 /** 51 50 * This is the model used by the history browser. … … 142 141 if (primitive.isNew() || !primitive.isUsable()) 143 142 return false; 144 143 145 //try creating a history primitive. if that fails, the primitive cannot be used.146 try {147 HistoryOsmPrimitive.forOsmPrimitive(primitive);148 } catch (IllegalArgumentException ign) {149 Logging.trace(ign);150 return false;151 }152 153 144 if (history == null) 154 145 return false; 155 146 // only show latest of the same version if it is modified
