mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetics
This commit is contained in:
@ -146,7 +146,7 @@ void CMeterButton::ReadConfig(CConfigParser& parser, const WCHAR* section)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Image.ClearConfigFlags();
|
||||
m_Image.ClearOptionFlags();
|
||||
}
|
||||
|
||||
m_Command = parser.ReadString(section, L"ButtonCommand", L"", false);
|
||||
@ -156,7 +156,7 @@ void CMeterButton::ReadConfig(CConfigParser& parser, const WCHAR* section)
|
||||
m_NeedsReload = (wcscmp(oldImageName.c_str(), m_ImageName.c_str()) != 0);
|
||||
|
||||
if (m_NeedsReload ||
|
||||
m_Image.IsConfigsChanged())
|
||||
m_Image.IsOptionsChanged())
|
||||
{
|
||||
Initialize(); // Reload the image
|
||||
}
|
||||
|
Reference in New Issue
Block a user