ensure change flag cleared for new FileData

This commit is contained in:
John Rassa 2019-09-03 22:39:19 -04:00
parent a2ceaea100
commit 28ed6ed04e

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()