1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Update plugin name, description and AU export prefix defaults when project name changes

This commit is contained in:
ed 2018-03-29 11:12:32 +01:00
parent 5b0b97473c
commit bd75eb1ed8

View file

@ -93,9 +93,14 @@ void Project::setTitle (const String& newTitle)
void Project::updateTitle()
{
getMainGroup().getNameValue() = getProjectNameString();
auto projectName = getProjectNameString();
getMainGroup().getNameValue() = projectName;
pluginNameValue.setDefault (projectName);
pluginDescriptionValue.setDefault (projectName);
bundleIdentifierValue.setDefault (getDefaultBundleIdentifierString());
pluginAUExportPrefixValue.setDefault (CodeHelpers::makeValidIdentifier (projectName, false, true, false) + "AU");
pluginAAXIdentifierValue.setDefault (getDefaultAAXIdentifierString());
}