Merge pull request #605 from jrassa/file-data-reset-changed-flag

ensure change flag cleared for new FileData
This commit is contained in:
Jools Wills 2019-09-10 00:22:08 +01:00 committed by GitHub
commit cb0db38f54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,7 @@ FileData::FileData(FileType type, const std::string& path, SystemEnvironmentData
if(metadata.get("name").empty())
metadata.set("name", getDisplayName());
mSystemName = system->getName();
metadata.resetChangedFlag();
}
FileData::~FileData()