Browse Source

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

tags/2021-05-28
ed 7 years ago
parent
commit
bd75eb1ed8
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      extras/Projucer/Source/Project/jucer_Project.cpp

+ 6
- 1
extras/Projucer/Source/Project/jucer_Project.cpp View File

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


Loading…
Cancel
Save