Revert change to TimeView.cpp regarding

updating the tooltip. I committed it accidentally.
This commit is contained in:
John Scipione
2012-04-06 19:55:35 -04:00
parent 2ce9bab873
commit e6874452d0
+6 -1
View File
@@ -332,10 +332,15 @@ TTimeView::Pulse()
Update();
strlcpy(fLastTimeStr, fTimeStr, sizeof(fLastTimeStr));
strlcpy(fLastDateStr, fDateStr, sizeof(fLastDateStr));
fNeedToUpdate = true;
}
// Update the tooltip if the date has changed
if (strcmp(fDateStr, fLastDateStr) != 0) {
strlcpy(fLastDateStr, fDateStr, sizeof(fLastDateStr));
SetToolTip(fDateStr);
}
if (fNeedToUpdate) {
fSeconds = ct->tm_sec;
fMinute = ct->tm_min;