1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00

Projucer: Revert 0b79bcec to use fix introduced in fefd4ec7 instead

This commit is contained in:
ed 2021-07-16 09:51:24 +01:00
parent db2036e81a
commit 40b46f8280

View file

@ -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.");