Fixed that !SetOptionGroup doesn't work with Measures.

This commit is contained in:
spx 2012-02-11 06:43:34 +00:00
parent bdb294893c
commit 73f56cf50c

View File

@ -1434,11 +1434,11 @@ void CMeterWindow::SetOption(const std::wstring& section, const std::wstring& op
if (value.empty()) if (value.empty())
{ {
GetParser().DeleteValue(section, option); GetParser().DeleteValue((*i)->GetOriginalName(), option);
} }
else else
{ {
GetParser().SetValue(section, option, value); GetParser().SetValue((*i)->GetOriginalName(), option, value);
} }
} }
} }