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:
parent
5b0b97473c
commit
bd75eb1ed8
1 changed files with 6 additions and 1 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue