mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
#33 fixed, taskforce delete should be normal now .
This commit is contained in:
parent
9cddabbb3a
commit
5cb110d9e5
2 changed files with 25 additions and 15 deletions
|
@ -324,6 +324,12 @@ public:
|
|||
this->SetString(section, key, INIHelper::ToString(value));
|
||||
}
|
||||
|
||||
void RemoveValue(const CString& section, const CString& value) {
|
||||
if (auto pSec = this->TryGetSection(section)) {
|
||||
pSec->RemoveValue(value);
|
||||
}
|
||||
}
|
||||
|
||||
void RemoveValueByKey(const CString& section, const CString& key) {
|
||||
if (auto pSec = this->TryGetSection(section)) {
|
||||
pSec->RemoveByKey(key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue