About Skins: Fixed ignored first update for measures

This commit is contained in:
Birunthan Mohanathas 2012-04-15 17:47:41 +03:00
parent 4a8bc1beaa
commit e139153d77

View File

@ -2813,6 +2813,8 @@ void CMeterWindow::Update(bool nodraw)
{ {
UpdateMeasure((*i), false); UpdateMeasure((*i), false);
} }
CDialogAbout::UpdateMeasures(this);
} }
// Update all meters // Update all meters
@ -2919,7 +2921,6 @@ LRESULT CMeterWindow::OnTimer(UINT uMsg, WPARAM wParam, LPARAM lParam)
if (wParam == TIMER_METER) if (wParam == TIMER_METER)
{ {
Update(false); Update(false);
CDialogAbout::UpdateMeasures(this);
} }
else if (wParam == TIMER_MOUSE) else if (wParam == TIMER_MOUSE)
{ {