mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-16 09:29:55 +00:00
Repaint in DiaryWindow
.. now we've optimised out the model resets the diary window (calendar chart) needs to explicitly repaint when a ride is selected because the model won't reset unless the ride selected is for a different month to the one currently shown.
This commit is contained in:
@@ -124,6 +124,7 @@ DiaryWindow::rideSelected()
|
||||
when = when.addDays(Qt::Monday - when.dayOfWeek());
|
||||
|
||||
title->setText(QString("%1 %2").arg(QDate::longMonthName(month)).arg(year));
|
||||
repaint();
|
||||
next->show();
|
||||
prev->show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user