Additional change for 4778184

This commit is contained in:
spx 2012-08-05 06:07:58 -07:00
parent 69f84781f1
commit a162451e87

View File

@ -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())