Changeset 10280 in josm
- Timestamp:
- 2016-05-25T08:58:13+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r10205 r10280 159 159 public void setRecentRelation(Relation relation) { 160 160 recentRelations.put(relation, null); 161 Main.map.relationListDialog.enableRecentRelations(); 161 if (Main.map != null && Main.map.relationListDialog != null) { 162 Main.map.relationListDialog.enableRecentRelations(); 163 } 162 164 } 163 165 … … 169 171 public void removeRecentRelation(Relation relation) { 170 172 recentRelations.remove(relation); 171 Main.map.relationListDialog.enableRecentRelations(); 173 if (Main.map != null && Main.map.relationListDialog != null) { 174 Main.map.relationListDialog.enableRecentRelations(); 175 } 172 176 } 173 177
Note:
See TracChangeset
for help on using the changeset viewer.