1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-09 04:30:09 +00:00

Revert "Projucer: Check if IDE project file exists when saving"

This reverts commit a71bda9adb.
This commit is contained in:
reuk 2021-12-14 11:59:08 +00:00
parent 7984458a8e
commit 6d711a2312
6 changed files with 11 additions and 34 deletions

View file

@ -504,9 +504,6 @@ void ProjectContentComponent::openInSelectedIDE (bool saveFirst)
if (auto selectedExporter = headerComponent.getSelectedExporter())
{
if (! selectedExporter->canLaunchProject())
return;
if (saveFirst)
{
if (project->isTemporaryProject())
@ -515,7 +512,7 @@ void ProjectContentComponent::openInSelectedIDE (bool saveFirst)
return;
}
if (project->hasChangedSinceSaved() || ! selectedExporter->getIDEProjectFile().exists())
if (project->hasChangedSinceSaved())
{
project->saveAsync (true, true, [safeThis = SafePointer<ProjectContentComponent> { this }] (Project::SaveResult r)
{