mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Projucer: Fixed a potential crash when quitting
This commit is contained in:
parent
0c9067c9a4
commit
bda05320cb
1 changed files with 3 additions and 1 deletions
|
|
@ -187,7 +187,9 @@ void ProjectContentComponent::setProject (Project* newProject)
|
||||||
|
|
||||||
deleteProjectTabs();
|
deleteProjectTabs();
|
||||||
project = newProject;
|
project = newProject;
|
||||||
rebuildProjectTabs();
|
|
||||||
|
if (project != nullptr)
|
||||||
|
rebuildProjectTabs();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue