mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Fix Diary doesn't select ride on Mac
The metricDB columns are renamed to more friendly values in RideNavigator, and the GcCalendarModel was looking for a columns "Filename" when it was named "File". This mean't the call to the model to retrieve the filename when an entry was clicked on the table view (diary) would return "". Strangely, this worked fine on Linux. But it is definitely a bug. This patch fixes that. Fixes #330.
This commit is contained in:
@@ -92,7 +92,7 @@ public slots:
|
||||
columns << column;
|
||||
if (column == tr("Duration")) durationIndex = i;
|
||||
if (column == tr("Date")) dateIndex = i;
|
||||
if (column == tr("Filename")) filenameIndex = i;
|
||||
if (column == tr("File")) filenameIndex = i;
|
||||
if (column == tr("Calendar Text")) textIndex = i;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user