start of turn restriction editor
[potlatch2.git] / net / systemeD / potlatch2 / TagViewer.mxml
index 9e6eeaedd1365faca676e3da70a9fa780692045b..e5f613b45a9b6ecacea08385438f1d1ace96c09e 100644 (file)
                   feature.addEventListener("imageChanged", featureImageChanged);
           }
 
-          if ( feature != null ) {
+          if ( feature != null && feature.name != null ) {
               setFeatureIcon(selectedEntity, feature);
           } else {
               blankFeatureIcon(selectedEntity);