- fix: Wrong compiler settings if xcode is not installed in mac os.

This commit is contained in:
Roy Qu 2023-08-11 16:26:03 +08:00
parent aa03dfc01d
commit 12f4b3ee9c
2 changed files with 3 additions and 2 deletions

View File

@ -24,6 +24,7 @@ Red Panda C++ Version 2.24
- change: New file created by file template is set as unmodified by default.
- change: Remove option "clear all symbols when current editor is hidden".
- fix: When opening multiple files, only the active file should be parsed.
- fix: Wrong compiler settings if xcode is not installed in mac os.
Red Panda C++ Version 2.23

View File

@ -2810,7 +2810,7 @@ bool Settings::CompilerSets::addSets(const QString &folder, const QString& c_pro
}
// Default, release profile
PCompilerSet baseSet = addSet(folder,c_prog);
if (!baseSet)
if (!baseSet || baseSet->name().isEmpty())
return false;
QString baseName = baseSet->name();
QString platformName;