mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
ensure change flag cleared for new FileData
This commit is contained in:
parent
a2ceaea100
commit
28ed6ed04e
|
@ -23,6 +23,7 @@ FileData::FileData(FileType type, const std::string& path, SystemEnvironmentData
|
||||||
if(metadata.get("name").empty())
|
if(metadata.get("name").empty())
|
||||||
metadata.set("name", getDisplayName());
|
metadata.set("name", getDisplayName());
|
||||||
mSystemName = system->getName();
|
mSystemName = system->getName();
|
||||||
|
metadata.resetChangedFlag();
|
||||||
}
|
}
|
||||||
|
|
||||||
FileData::~FileData()
|
FileData::~FileData()
|
||||||
|
|
Loading…
Reference in a new issue