mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-23 01:44:22 +00:00
Projucer: Reverted bda0532 and fixed the root cause of the crash
This commit is contained in:
parent
759e2697b7
commit
e61f7fc441
1 changed files with 3 additions and 4 deletions
|
|
@ -103,9 +103,10 @@ ProjectContentComponent::~ProjectContentComponent()
|
|||
|
||||
ProjucerApplication::getApp().openDocumentManager.removeListener (this);
|
||||
|
||||
setProject (nullptr);
|
||||
|
||||
logo.reset();
|
||||
header.reset();
|
||||
setProject (nullptr);
|
||||
contentView.reset();
|
||||
fileNameLabel.reset();
|
||||
removeChildComponent (&bubbleMessage);
|
||||
|
|
@ -187,9 +188,7 @@ void ProjectContentComponent::setProject (Project* newProject)
|
|||
|
||||
deleteProjectTabs();
|
||||
project = newProject;
|
||||
|
||||
if (project != nullptr)
|
||||
rebuildProjectTabs();
|
||||
rebuildProjectTabs();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue