Minor fix to overview day selection

This commit is contained in:
Mark Watkins 2011-10-28 15:15:37 +10:00
parent b046bb907d
commit c17b6ff183

View File

@ -519,6 +519,9 @@ extern MainWindow *mainwin;
bool SummaryChart::mouseReleaseEvent(QMouseEvent * event)
{
if (event->modifiers() & Qt::ShiftModifier) {
if (hl_day<0) {
mouseMoveEvent(event);
}
if (hl_day>0) {
QDateTime d=QDateTime::fromTime_t(hl_day*86400).toUTC();
mainwin->getDaily()->LoadDate(d.date());