mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Additional change for 4778184
This commit is contained in:
parent
69f84781f1
commit
a162451e87
@ -2183,11 +2183,6 @@ bool CMeterWindow::ReadSkin()
|
|||||||
m_Meters.push_back(meter);
|
m_Meters.push_back(meter);
|
||||||
meter->SetRelativeMeter(prevMeter);
|
meter->SetRelativeMeter(prevMeter);
|
||||||
|
|
||||||
if (!meter->GetToolTipText().empty())
|
|
||||||
{
|
|
||||||
meter->CreateToolTip(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!m_HasButtons && meter->GetTypeID() == TypeID<CMeterButton>())
|
if (!m_HasButtons && meter->GetTypeID() == TypeID<CMeterButton>())
|
||||||
{
|
{
|
||||||
m_HasButtons = true;
|
m_HasButtons = true;
|
||||||
@ -2212,6 +2207,11 @@ bool CMeterWindow::ReadSkin()
|
|||||||
CMeter* meter = *iter;
|
CMeter* meter = *iter;
|
||||||
meter->ReadOptions(m_Parser);
|
meter->ReadOptions(m_Parser);
|
||||||
meter->Initialize();
|
meter->Initialize();
|
||||||
|
|
||||||
|
if (!meter->GetToolTipText().empty())
|
||||||
|
{
|
||||||
|
meter->CreateToolTip(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_Meters.empty())
|
if (m_Meters.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user