Fixed the issue that all grouping functions for Config are broken since r473.

This commit is contained in:
spx 2010-07-21 23:11:12 +00:00
parent b3507f6f8e
commit dc7ccdd7ed

View File

@ -1469,6 +1469,8 @@ void CMeterWindow::ReadConfig()
m_AlphaValue = 255; m_AlphaValue = 255;
m_FadeDuration = 250; m_FadeDuration = 250;
std::wstring group = L"";
CConfigParser parser; CConfigParser parser;
parser.Initialize(iniFile.c_str(), m_Rainmeter); parser.Initialize(iniFile.c_str(), m_Rainmeter);
@ -1548,6 +1550,9 @@ void CMeterWindow::ReadConfig()
m_FadeDuration = parser.ReadInt(section, L"FadeDuration", m_FadeDuration); m_FadeDuration = parser.ReadInt(section, L"FadeDuration", m_FadeDuration);
group = parser.ReadString(section, L"Group", group.c_str());
InitializeGroup(group);
// On the second loop override settings from the skin's section // On the second loop override settings from the skin's section
section = m_SkinName.c_str(); section = m_SkinName.c_str();
} }