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(); }