mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Merge pull request #605 from jrassa/file-data-reset-changed-flag
ensure change flag cleared for new FileData
This commit is contained in:
commit
cb0db38f54
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue