From dc7ccdd7eda941ca8a15ebee479d8a1264933b47 Mon Sep 17 00:00:00 2001 From: spx Date: Wed, 21 Jul 2010 23:11:12 +0000 Subject: [PATCH] Fixed the issue that all grouping functions for Config are broken since r473. --- Library/MeterWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/MeterWindow.cpp b/Library/MeterWindow.cpp index e354ab9c..b333d4a9 100644 --- a/Library/MeterWindow.cpp +++ b/Library/MeterWindow.cpp @@ -1469,6 +1469,8 @@ void CMeterWindow::ReadConfig() m_AlphaValue = 255; m_FadeDuration = 250; + std::wstring group = L""; + CConfigParser parser; parser.Initialize(iniFile.c_str(), m_Rainmeter); @@ -1548,6 +1550,9 @@ void CMeterWindow::ReadConfig() 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 section = m_SkinName.c_str(); }