Browse Source

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

v6.1.6
ed 4 years ago
parent
commit
40b46f8280
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.cpp

+ 0
- 9
extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.cpp 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.");


Loading…
Cancel
Save