Config: Keep track of deleted keys
This allows deleted keys to be deleted from INIs properly.
This commit is contained in:
1 parent
b51c6023ba
commit
9c3265f1ef
2 files changed
+4
No files matched your search
@@ -120,6 +120,8 @@ bool Section::Delete(const std::string& key)
|
||||
return false;
|
||||
|
||||
m_values.erase(it);
|
||||
|
||||
m_deleted_keys.push_back(key);
|
||||
m_dirty = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user