private function blankFeatureIcon(entity:Entity):void {
iconImage.source = null;
+ popupChange.label = "unknown";
+ setLimitTypes(entity);
if (entity == null) {
iconText.htmlText = "<i>Nothing selected</i>";
+ tw.setNoSelectedFeature();
} else if (entity.hasTags()) {
iconText.htmlText = "<b>Not recognised</b><br/>Try looking at the tags under the advanced properties";
+ tw.setSelectedFeature(null);
} else {
iconText.htmlText = "<b>No tags set</b><br/>Use the menu above to say what this "+entity.getType()+" is";
+ tw.setSelectedFeature(null);
}
- popupChange.label = "unknown";
- setLimitTypes(entity);
- tw.setSelectedFeature(null);
helpLabel.visible = false;
}