diff --git a/src/board/UBFeaturesController.cpp b/src/board/UBFeaturesController.cpp index afc6026e..b39017ce 100644 --- a/src/board/UBFeaturesController.cpp +++ b/src/board/UBFeaturesController.cpp @@ -260,6 +260,7 @@ bool UBFeature::isDeletable() const || elementType == FEATURE_AUDIO || elementType == FEATURE_VIDEO || elementType == FEATURE_IMAGE + || elementType == FEATURE_FLASH || elementType == FEATURE_FOLDER; } diff --git a/src/board/UBFeaturesController.h b/src/board/UBFeaturesController.h index b48f3d62..6c05e90b 100644 --- a/src/board/UBFeaturesController.h +++ b/src/board/UBFeaturesController.h @@ -73,14 +73,14 @@ enum UBFeatureElementType FEATURE_VIRTUALFOLDER, FEATURE_FOLDER, FEATURE_INTERACTIVE, - FEATURE_INTERNAL, + FEATURE_INTERNAL, FEATURE_ITEM, FEATURE_AUDIO, FEATURE_VIDEO, FEATURE_IMAGE, FEATURE_FLASH, - FEATURE_TRASH, - FEATURE_FAVORITE, + FEATURE_TRASH, + FEATURE_FAVORITE, FEATURE_SEARCH, FEATURE_INVALID };