mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
DataFilter : Match exact name for XDATA series
This commit is contained in:
@@ -1483,12 +1483,12 @@ RideItem::xdataMatch(QString name, QString series, QString &mname, QString &mser
|
||||
while (xi.hasNext()) {
|
||||
xi.next();
|
||||
|
||||
if (QDir::match(name, xi.key())) {
|
||||
if (name == xi.key() || QDir::match(name, xi.key())) {
|
||||
|
||||
// name matches
|
||||
foreach(QString s, xi.value()) {
|
||||
|
||||
if (QDir::match(series, s)) {
|
||||
if (s == series || QDir::match(series, s)) {
|
||||
|
||||
// series matches too
|
||||
mname = xi.key();
|
||||
|
||||
Reference in New Issue
Block a user