mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
Made the ValueTree::getPropertyAsValue method non-const, to ensure the class behaves in a const-correct manner. Improved the Introjucer's use of const ValueTrees to enable it to write each exporter in parallel, for quicker saving. Tweaked the Identifer class to be thread-safe.
This commit is contained in:
parent
2ad5e0bfb7
commit
b69b7c7647
26 changed files with 512 additions and 386 deletions
|
|
@ -42,7 +42,7 @@ ProjectTreeViewBase::~ProjectTreeViewBase()
|
|||
//==============================================================================
|
||||
String ProjectTreeViewBase::getDisplayName() const
|
||||
{
|
||||
return item.getName().toString();
|
||||
return item.getName();
|
||||
}
|
||||
|
||||
void ProjectTreeViewBase::setName (const String& newName)
|
||||
|
|
@ -50,7 +50,7 @@ void ProjectTreeViewBase::setName (const String& newName)
|
|||
if (item.isMainGroup())
|
||||
item.project.setTitle (newName);
|
||||
else
|
||||
item.getName() = newName;
|
||||
item.getNameValue() = newName;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue