diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.cpp b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.cpp index a1e34ba855..5463debbba 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.cpp +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.cpp @@ -339,15 +339,6 @@ void ProjectExporter::createIconProperties (PropertyListBuilder& props) ids.add (imageItem->getID()); } - const auto resetToDefaultIfFileMissing = [&ids] (ValueWithDefault& v) - { - if (! v.isUsingDefault() && ! ids.contains (v.get())) - v.resetToDefault(); - }; - - resetToDefaultIfFileMissing (smallIconValue); - resetToDefaultIfFileMissing (bigIconValue); - props.add (new ChoicePropertyComponent (smallIconValue, "Icon (Small)", choices, ids), "Sets an icon to use for the executable.");