mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Projucer: Fixed a crash when deleting multiple file tree items
This commit is contained in:
parent
57d7e98053
commit
44f69755b8
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ public:
|
|||
{
|
||||
if (auto itemToRemove = treeRootItem->findTreeViewItem (itemsToRemove.getUnchecked (i)))
|
||||
{
|
||||
if (auto* pcc = getProjectContentComponent())
|
||||
if (auto* pcc = treeRootItem->getProjectContentComponent())
|
||||
{
|
||||
if (auto* fileInfoComp = dynamic_cast<FileGroupInformationComponent*> (pcc->getEditorComponentContent()))
|
||||
if (fileInfoComp->getGroupPath() == itemToRemove->getFile().getFullPathName())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue