mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Check if jucerFormatVersion has changed before setting
This commit is contained in:
parent
8e19473b52
commit
916bba55b0
1 changed files with 3 additions and 1 deletions
|
|
@ -339,7 +339,9 @@ void ProjectSaver::writeProjectFile()
|
|||
auto root = project.getProjectRoot();
|
||||
|
||||
root.removeProperty ("jucerVersion", nullptr);
|
||||
root.setProperty (Ids::jucerFormatVersion, jucerFormatVersion, nullptr);
|
||||
|
||||
if ((int) root.getProperty (Ids::jucerFormatVersion, -1) != jucerFormatVersion)
|
||||
root.setProperty (Ids::jucerFormatVersion, jucerFormatVersion, nullptr);
|
||||
|
||||
project.updateCachedFileState();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue