mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix Activity Log Search/Filter
.. not sure it every worked properly.
This commit is contained in:
@@ -587,7 +587,8 @@ class SearchFilter : public QSortFilterProxyModel
|
||||
// find the filename column
|
||||
fileIndex = -1;
|
||||
for(int i=0; i<model->columnCount(); i++) {
|
||||
if (model->headerData(i, Qt::Horizontal, Qt::DisplayRole).toString() == "filename") {
|
||||
if (model->headerData(i, Qt::Horizontal, Qt::DisplayRole).toString() == "filename"
|
||||
|| model->headerData(i, Qt::Horizontal, Qt::DisplayRole).toString() == tr("File")) {
|
||||
fileIndex = i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user